A black Wisconsin high school security guard who was fired for saying the N-word while telling a black student not to use the racial slur says he will return to his job.

Marlon Anderson, 48, announced Monday on Facebook that he’ll be returning to work five days after he was terminated by the Madison Metropolitan School District for repeating the slur on Oct. 9 as he spoke to a disruptive teen at Madison West High School.

“I’m back!” Anderson wrote. “I will be placed on paid administrative leave and my transition plan is being negotiated … Now we have to address the policy!! God is good!!!!”

Anderson was fired under the district’s zero-tolerance policy for using racial slurs in front of students, the Milwaukee Journal Sentinel reports.

“Every type of N-word you can think of, that’s what he was calling me,” Anderson told the newspaper of the encounter. “I said, ‘Do not call me that name. I’m not your N-word. Do not call me that.’”

A principal told Anderson later that week that he’d have an “uphill battle” to keep his job before informing parents in a letter that he wouldn’t return to the school.

“As you know, our expectation when it comes to racial slurs has been very clear,” principal Karen Boran wrote. “Regardless of context or circumstance, racial slurs are not acceptable in our schools.”

But Anderson’s firing struck a chord with students at the school, where more than 1,000 youngsters — including the guard’s son — walked out of classrooms Friday in protest.

The controversy also caught the attention of entertainment icon Cher — who promised to pay for Anderson’s court costs if he sued the district — and more than 16,350 people who signed an online petition demanding that Anderson be rehired.

A message seeking comment from district officials was not immediately returned Tuesday, but a union official confirmed Monday that Anderson’s termination had been rescinded.

Now Anderson, who started working Monday at the Boys and Girls Club of Dane County during his leave from the district, is calling on administrators to revisit the policy.

“You can’t eliminate racism by ignoring it — by trying to hide the word or by trying to legislate the word,” Anderson told the newspaper. “What if a white student calls a black student an N-word but doesn’t say the word? It’s the intent behind what you’re saying.”

With Post wires