It was Maine's deadliest shooting since 2015.
The shootings happened at several locations along a country road that runs behind the Skowhegan Fairgrounds, and Somerset County deputies ended the rampage by killing the gunman, said Steve McCausland of the Maine Department of Public Safety.
The condition of the wounded person wasn't immediately clear. Police also didn't immediately release the identities of the gunman or victims and declined to further discuss the investigation.
The investigation was focusing on a home where a neighbour said there had been a party and fireworks the night before, on the Fourth of July. Police remained at the site Wednesday afternoon, said neighbor Wayne Parlin, whose driveway was blocked by investigators.
The attorney general's office sent investigators to the scene to review the use of deadly force by sheriff's deputies. It was the deadliest shooting in Maine since November 2015, when a 3-year-old girl was the only survivor of a rampage in the town of Oakland in which a gunman killed his girlfriend and the youngster's parents before taking his own life.