The LIRR rider caught on camera spewing a bigoted rant was charged with a hate crime that could land him behind bars, officials said Wednesday.

The Queens DA charged 58-year-old Long Beach resident Edward Ruggiero with third-degree menacing as a hate crime and second-degree aggravated harassment — crimes punishable by up to a year in jail and $1,000 fine.

“The bigotry and hatred that the defendant is accused of manifesting and acting upon have no place in a civilized society — especially in Queens County, the most culturally diverse county in the nation,” Queens DA Richard Brown said in a statement.

“No one should be subjected to the vile words and intimidating actions the defendant is accused of tormenting the victim with. Crimes of hate will never be tolerated here and when they do, regrettably occur, those responsible will be brought to justice.”

Ruggiero was allegedly caught on camera on April 19, at some point between 9:53 p.m. and 10:25 p.m., going off on fellow rider Soraya Orelien, an African-American woman who was headed home to Lynbrook after a long day at her Manhattan college.

The angry man claimed he was upset that Orelien, 25, was talking too loudly. When another young black woman came to Orelien’s defense, the man launched into a vile, racist rant that was recorded.

“Shut the f–k up, you f–king loudmouthed monkey motherf–ker,” the man screamed.

“I can’t listen to your f–king black ass no more … You f–king loudmouthed bitch … At least I got a f–king mother. Do you know who your mother is? You don’t know who your mother or your father is because you’re a f–king monkey, that’s why.”

Ruggiero was being held pending arraignment in Queens Criminal Court, the DA said.