The child, William, survived a gunshot wound to the chest when multiple suspects fired at least 25 rounds at the Winery Gardens apartment complex on July 8.
RELATED: 5-year-old seriously injured after being shot in east central Fresno
William's mother had gone to pick up her daughter that night, whom she shared with 24-year-old Tim Cook, Chief Jerry Dyer said in a press conference.
WATCH: Chief Jerry Dyer provides new developments on shooting that left child severely injured
Cook walked out to the car with another unidentified man and started placing the two-year-old girl into the car when a group of men approached, and two started shooting at Cook and the other man.
William was injured by one of the bullets that hit the right side of his chest, impacting his lung and liver before exiting his body.
Dyer said detectives served five warrants Thursday morning to arrest Elroy Major, 26, and Michael Bowman, 26, for assault with a deadly weapon.
Detectives are asking for the publics help in finding two more outstanding suspects in the shooting Seandell Davis, 21,and Kedar Sanders, 19.
This is a developing story and will be updated.