A city teacher was driving drunk on a school day Friday morning when she struck and killed a man who was walking out of a Bronx hospital, officials said.

Shakira Price, 33, was already fleeing the scene of one accident when she slammed into the 57-year-old man who had just gotten out of a detox program at Jacobi Medical Center at around 10 a.m., according to police and hospital sources.

Price, a teacher at Schuylerville Preparatory High School in the Bronx, had just gotten into an accident with a 72-year-old man driving a Kia, according to police.

The driver of the Kia trailed Price as she tried to flee the scene of that crash.

In her attempt to get away, Price crashed into the man as he was crossing the street at Eastchester Road and Pelham Parkway South near Jacobi, cops said.

The victim, who was not immediately identified, suffered body trauma and was rushed into Jacobi, where he was pronounced dead, cops said.

He had just completed a detox program and was leaving the facility before he was struck, according to hospital workers who declined to give their names.

It wasn’t clear whether the program was for drug or alcohol rehabilitation.

Price was taken into custody on suspicion of drunk driving.

She was later charged with vehicular manslaughter, vehicular assault, driving while intoxicated, and driving while ability impaired.

Additional reporting by Selim Algar