An NYPD cop was busted yesterday, just hours before he planned to retrieve nearly $1 million for a drug dealer who had stashed it in a Manhattan apartment before being deported to the Dominican Republic, authorities charged yesterday

Shawn Jenkins, 41, a 15-year veteran who was assigned to the 23rd Precinct in East Harlem as a highway safety officer, allegedly was ordered to give the dealer’s mother $500,000 of the drug money.

The officer had once been the dealer’s bodyguard, according to a federal complaint,

Jenkins was arrested at 3:45 a.m. yesterday at the Washington Heights apartment after a man he thought would be his accomplice turned out to be an informant and caught him on tape Tuesday saying his scheme was on for later that night, the feds said.

Bail was set at $200,000 at his arraignment in Manhattan federal court. According to the complaint, Jenkins had a hand-scrawled floor plan supplied by the dealer.