Gonzalez, who was stationed for years at Hill Air Force Base, was stabbed several times in the torso. He died before police could respond to the scene, just outside The Gateway on April 19.
Ramos faces up to life in prison for the first-degree felony murder count with which he has been charged. He listened to the judge's decision Wednesday through a Spanish interpreter.
"I believe that the evidence that has been presented yesterday and today is more than sufficient," said 3rd District Judge Denise Lindberg at the end of a two-day preliminary hearing. "There is probable cause to believe that the crime was committed as charged and there's probable cause to believe Mr. Ramos committed it."
According to court documents and testimony, Ramos approached Gonzalez and his friend Megan Sellers as they sat in a white car, talking, at about 1:20 a.m. The two had just seen a movie together and were saying their goodbyes.
Ramos opened the front passenger door, startling the two inside.
Officers reported that Gonzalez leapt out, asking Ramos, "Hey dude, what are you doing?"
Sellers testified that Ramos climbed on top of Gonzalez, who pleaded for his life.
"Help me," Gonzalez allegedly said. "I have two kids. Please don't kill me."
Sellers said she tried to use her stun gun on Ramos before running back into her car and calling 911.
Ramos was being picked up that night by a friend Nestor Vasquez, who testified Tuesday, that he witnessed the fight from across the street. He believed Ramos was trying to find his car, a white sedan, but came upon the wrong vehicle.
Vasquez testified that Ramos was calling out for help, too, and that he seemed to be hurt.
When the fight was over, Ramos fled to a North Temple motel.
Vasquez, who drove him there, testified that Ramos believed the other man Gonzalez was trying to kill him.
Police found two backpacks at the scene, one of which contained identifying information belonging to Ramos. They arrested him at the motel.
In interviews with police, Ramos allegedly admitted to stabbing a man multiple times, according to court documents.
Ramos will be arraigned on Sept. 19, at which point he will enter a plea to the charge against him before 3rd District Judge James Blanch.