Ernest Richardson, 22, was walking with his nephew Semaj O'Branty near Torresdale and Margaret streets when they were fired upon and the child was wounded.
According to the district attorney, Richardson returned fire at the car from where the shots originated and then ditched his firearm inside of a nearby recycling bin.
Richardson has been charged with recklessly endangering another person, possession of an instrument of crime and violations of the uniform firearms act.
Police are still searching for the gunman responsible for shooting O'Branty and have released surveillance images of a red Pontiac G6 from which shots were fired.
Authorities are asking the public for information that could help identify the individual(s) responsible for the child's shooting by calling 911 or 215-686-TIPS.
This shooting comes less than a month after a two shootings that left a 2-year-old girl dead and an 11-month-old toddler fighting for his life.