A man has been charged with murder after a seven-month-old baby died after being shot while sitting in her pushchair in New York.

Amuri Greene, 21, has been charged with three counts of murder and one of attempted murder after police accused him of fatally shooting Kaori Patterson-Moore on April 1.

Greene appeared in court on Friday where he pleaded not guilty, according to CBS News, the BBC's US partner. Officers believe the baby was the unintended victim of a gang-related shooting.

Police said a second suspect, Matthew Rodriguez, 18, had been arrested in connection with the shooting in Pennsylvania and charges were pending.

Footage from the incident appears to show two men on a motorcycle riding against the flow of traffic through the Williamsburg neighborhood of Brooklyn before the man on the back took out a gun and fired, police said.

Officers believe Greene carried out the shooting while on the back of the scooter. He was thrown from the vehicle following the incident and required hospital treatment, where he was placed in police custody.

Greene also pleaded not guilty to charges of five counts of criminal possession of a weapon, two counts of attempted criminal possession of a weapon, and two counts of assault, CBS reported.

Rodriguez is believed to be the man seen driving the scooter during the shooting. The driver crashed into oncoming traffic after the gunfire and fled, police said.

Family and friends gathered on Friday night for a candlelight vigil at the corner where the shooting took place.