Eduardo Rodriguez, 15, is facing attempted murder and other charges.
Police say he was aiming for a rival in an ongoing dispute when he accidentally shot Armando Bigo inside a Bronx deli on Tuesday.
The shooting was captured by a surveillance camera.
The eight year old is recovering from the gunshot wound to his left shoulder.
A $12,000 reward had been offered for information leading to an arrest.
Get Eyewitness News Delivered