37-year-old Day Bryant was arrested by NYPD officers at 9:45 a.m. at his apartment at 2850 8th Avenue in Harlem on Wednesday.
Detectives received information on who the shooter was and took him into custody without incident.
They wouldn't elaborate on what lead them to Bryant.
Police say Bryant was shooting his gun into the air outside the Long Island City housing project at around 5:20 a.m. Sunday.
One of the bullets entered 15-year-old Amy Sanchez' apartment, striking the girl in the hand.
Sanchez had woken up early to do homework. She remains hospitalized.
Bryant is charged with criminal possession of a weapon and reckless endangerment.
A meeting between the community and the police was held Wednesday night.
Get Eyewitness News Delivered