An 11-year-old boy was fatally shot after a prank in which he rang the doorbell of a home and ran away, police said Sunday.