Jonathan Cordoba, 29, of Brooklyn, has been charged with assault, attempted assault, reckless endangerment, menacing and weapons offenses. Cordoba was taken into custody at his girlfriend's home.
He was arraigned Thursday, and bail was set at $150,000 cash or $300,000 bond.
The shooting happened just after 2 p.m. June 14 near Target at the intersection of Fort Greene Place and Hanson Place. This is close to Barclays Center.
Surveillance video shows the shooter pulling a gun from his waistband and opening fire, hitting a man. The gunman then runs away.
There were hundreds of people on the street.
"Thank God, thank God that we only have one individual, in light of what's happened today in our country, thank God we only have one individual hit, thank God," NYPD Deputy Chief Vincent Didonato said after the incident. "It could have been a lot worse."
The 50-year-old man who was shot, Ellison Ingram, was on his way to work and was treated at Brooklyn Methodist Hospital. Police said at the time that they didn't know if he was an intended target or an innocent bystander. He told police he was walking past an argument between two unknown men when he was shot.
Anyone with information about the shooting is asked to contact NYPD's Crime Stoppers Hotline at 1-800-577-TIPS (8477) or for Spanish, 1-888-57-PISTA (74782).