Con with ‘Thug Life’ tattoo tried to rob pharmacy, police say. An off-duty cop shot him.

William Muñoz
William Muñoz Miami-Dade Corrections

Among his many arrests over the years, William Muñoz spent two years in Florida prison for robbery. And he was back at it again, police say, holding up a CVS in Perrine — only to get shot by a State Attorney’s investigator who shopping at the store after work.

Authorities on Monday identified Muñoz, who has the words “thug life” tattooed on his stomach, as the armed robber shot by Investigator Jose Alfonso last week. Muñoz survived but was arrested after checking into Jackson Memorial South Hospital with a gunshot wound to the stomach.

He’s being held in a Miami-Dade jail while awaiting arraignment on an armed robbery charge.

According to an arrest report, it was Muñoz who walked into the CVS in the 11500 block of Quail Roost Drive on Halloween night, pointing a pistol at employees while demanding cash.

Little did he know that Alfonso, a sworn officer who heads his office’s human-trafficking investigations unit, was just leaving the pharmacy in the back of the store. Alfonso, who recently retired from a long career with Miami police, came across the robbery and shot Muñoz.

Jose Alfonso, pictured here during his tenure with Miami police, shot and wounded an armed robber at a South Miami-Dade CVS last week. Alfonso now works as an investigator with the State Attorney’s Office. John Van Beekum Miami Herald

Muñoz, 38, dropped the gun and ran away. But two eyewitnesses identified Muñoz as walking into the CVS moments before the shooting, and his car was found nearby, according to the report.

Confronted at the hospital, Muñoz refused to speak to robbery detectives.

The head of Miami-Dade’s police union called Alfonso “a hero” for saving the CVS employees. Florida law allows police officers to shoot someone who poses an imminent threat to others.

State records show Muñoz was sentenced to two years in prison for robbery. He got out in 2005. Since then, he’s racked up a string of minor arrests including for trespassing, petty theft and drinking alcohol on a curb.