It happened around 2 p.m. at 60 West 104th Street on the Upper West Side.
EMS said the child was taken to St. Luke's Hospital.
Police said a 45-year-old woman fled the scene.
It's not clear if the victim and suspect knew each other.
MORE NEWS: Child wounded when shots fired into New Jersey home
* Get Eyewitness News Delivered
* More Manhattan news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube
Submit a News Tip