The incident happened at one of the restaurant's locations in Doral, Florida. She was having a medical emergency, and Viloria didn't hesitate to help.
According to the news outlet, there were two kids in the backseat of the auto and as the officer slowly drove away from the window she crashed her vehicle into a medium.
"Her kids were screaming, 'Mother, mother, stop it, mother what are you doing?'" Viloria told CBS Miami.
After the Miami-Dade Police officer suffered the medical emergency, her vehicle started rolling slowly away from the drive-thru line and hit a median, surveillance footage shows.
Viloria literally jumped into action leaping out of the drive-thru window to chase after the runaway auto.More news: Villanova Wins The Big East Championship Over Creighton
McDonald's released a statement praising their employee for his quick and courageous response to the emergency.
"It is what a hero does, if I would've need to die to save that woman, I would've done it", the cashier said.
Viloria said he was never concerned about his own safety.
The man told the police and the reporters that by the time the female police officer reached his drive-thru window she had trouble breathing.
What he didn't know at the time was who he was helping. The officer is reportedly recovering in the hospital. "He is an excellent employee, so it didn't surprise me that he took immediate action and jumped through a window to help save this woman", the company said in a statement. An off-duty paramedic in the scene's vicinity also rushed to help - and within minutes, fire rescue was at the scene.