Authorities said Dalray Kawane Andrews, 20, shot and killed Joshua Huizar at the fast food restaurant. Police described Andrews as a known gang member.
"When that crime occurred, we launched a team of detectives to hunt this person down. We will do everything that we can from this point forward to make sure that Andrews never sees the light of day," Rialto Police Chief Mark Kling said at a press conference on Wednesday.
Investigators said evidence found on Huizar's car led them to Andrews.
The violence unfolded April 10 when Huizar and his girlfriend Viridiana Sanchez were in their car, waiting in the drive-thru line at about 1 a.m. on the 12000 block of East Baseline Road.
A gunman walked up to the car and demanded their money and cellphones. Huizar tried to drive away when the suspect opened fire.
Huizar was rushed to an area hospital, where he was pronounced dead. His girlfriend was not injured.
Andrews was already on probation for a narcotics violation when he was arrested, and now faces murder and robbery charges. Authorities have not ruled out the possibility of seeking the death penalty in this case.
Huizar's family admits the arrest does provide some relief.
"I know it won't bring him back, but he won't be able to hurt somebody else's family the way he's hurt ours," said Huizar's mother, Elsa Huizar.
The Huizar family left the police press conference to go directly to Joshua's funeral.