Rodriguez switched to NWA’s infamous anti-police anthem — which includes a line about “taking out a cop or two” — moments before her memorial service was set to start, and only turned it off after 20 cops paid a visit to his apartment.

Rodriguez tried to justify his insolence by claiming that his brother and a friend had been killed by the NYPD, but The Post couldn’t verify that claim based on the names he provided.

The teen’s sister, Suleika Rodriguez, complained Friday that her brother has been threatened over his anti-cop antics, adding: “I got people on Facebook telling him, ‘You’re wrong.'”

“I don’t give a f–k. I already have an apartment,” she said, but refused to elaborate.