A former NYPD cop has been indicted on a murder charge in New Orleans for shooting an unarmed man, prosecutors said.

Gerardo Bugallo-Beret, 29, was charged with second-degree murder on Thursday in the death of Tyrone Reese, 29, who was shot outside the former cop’s Treme apartment building on March 14, Orleans Parish District Attorney Leon Cannizzaro said.

Bugallo-Beret — who left the NYPD in 2016 upon being charged with misdemeanor assault after fighting a bouncer outside the 3 Sheets Saloon in Greenwich Village — told investigators he shot Reese, who was unarmed, in self-defense because he verbally threatened him.

Bugallo-Beret, who had no prior arrests in New Orleans, faces a mandatory sentence of life in prison if convicted.

The former cop remained in custody early Friday at a psychiatric unit in Elayn Hunt Correctional Center on $700,000 bond, records show. A judge left the amount unchanged after Thursday’s indictment, Cannizzaro said.

Cops in New Orleans arrested Bugallo-Beret just hours after the shooting, where residents said a fight broke out in a parking lot at St. Ann Square Apartments after the two briefly squabbled.

A witness said the ex-cop then grabbed a gun and opened fire, killing Reese, the Times-Picayune reported in March.

Bugallo-Beret tried to run but was detained by investigators, according to the newspaper.

A GoFundMe page set up in Reese’s memory said he was killed over a “small argument” with another man.

Bugallo-Beret worked for the NYPD from July 2014 until May 2016. He was assigned to the 40th Precinct in the South Bronx, where he was asked to resign following his arrest or face termination, a police source told The Post.

“He was unmemorable,” one cop who knew him said. “He was a rookie, so he just did his job — nothing good or bad to say about him.”

Additional reporting by Larry Celona