A 12-year-old boy was recovering from a shotgun wound he sustained from a booby trap in an unoccupied house, authorities said.