Authorites took 23-year-old Curtis Peterson into custody in Massachusetts on Tuesday.
Investigators say Peterson was harassing one of the victim's daughters when the father confronted him Saturday in Bushwick.
That's when police say Peterson opened fire at the family.
All five are expected to fully recover.
Police say 33 people were injured in 22 shootings over the weekend, with three fatalities.