A local television station reported Tuesday that troopers from the Greensburg barracks aren't identifying the boy because he's being charged in juvenile court with reckless endangerment.
The station says the incident happened July 18 in Youngwood. That's about 30 miles east of Pittsburgh.
Police say the Dairy Queen owner saw the boy's gun protruding from the window after a deliver driver's arm was grazed by a BB, walked over to the house and told the boy's mother what was going on.
Police say the BBs also damaged a neighbor's front door, a window and the siding on his house.