"Somebody running past aiming for someone else, but she was at the wrong place at the wrong time," area resident Teirra Ward said.
Some neighbors at first thought a child had been hit.
"There's been too much shooting," neighbor Shara Long said. "There's too many kids running around the block, and they are running around here shooting."
After the shooting, the 28-year-old suspect drove his van onto the sidewalk and tried to get away. Police shot him in the hip.
Police caught up with him in the 400 block of Macon Street in Bedford-Stuyvesant shortly before 5 p.m.
He was armed with a .45-caliber semi-automatic firearm, which police recovered from the scene.
The officers were not injured.