WEST BRUNSWICK, Penn. — A man wanted in a fatal triple shooting on Staten Island has been arrested Tuesday in Pennsylvania after engaging in a shootout with U.S. Marshals, authorities said.

Anthony Morales, 49, had been on the run since March 24 when he allegedly shot his three of his neighbors, killing a mother and her son, outside the Mariners Harbor Houses, NYPD said.

The suspect, who has ties to Pottsville, was found in his vehicle parked along Blue Mountain Road in West Brunswick, Penn., late Monday night, according to Pennsylvania State Police.

U.S. Marshals approached the car about 11:15 p.m. and ordered Morales to get out. He refused and instead reached for his waistband then was shot multiple times, police said. Morales was then pulled from his car, inside of which authorities found a loaded Glock handgun, state police said. He was taken to a hospital.

He was wanted in connection with a deadly triple shooting last week. Police in Staten Island found Idelle Rivera, 47, and her son, Anthony Rivera, 21, both shot in the head last Thursday. They were pronounced dead later that night.

A 22-year-old man also was found shot in the left leg. He is in critical but stable condition at a hospital, police said.

The NYPD had offered a $2,500 reward for Morales' capture.