Valdez was booked on suspicion of homicide, a first degree felony, and three counts of discharging a firearm.
Donald Valdez, a relative of the alleged shooter, was booked on suspicion of obstruction of justice, a second-degree felony.
Scharman said he wasn't sure how the two are related.
Gonzales' body was discovered on the sidewalk after dispatchers received a 911 hang-up call from the area Saturday about 7 a.m.
Scharman said police do not believe there are any other suspects in the killing, but are asking any witnesses to come forward.
"Anything that they may know might be very crucial to us," Scharman said.
When police arrived to investigate, they saw a bunch of people running from the scene, according to Detective Dennis McGowan.
According to Utah court records, Nicholas Valdez has prior convictions for several minor crimes. In 2010, he pleaded guilty to a class C misdemeanor count of interfering with a police officer. In 2008, he pleaded guilty to public intoxication and disturbing the peace. And in 2006, he pleaded guilty to possession of alcohol by a minor.