A Brooklyn mother who wore a wire to catch a judge suspected of cutting a deal with her ex-husband in a bitter custody battle has struck a movie deal.

Frieda Hanimov – dubbed the new Erin Brockovich – is the whistle-blowing mother of four whose work helped lead to this year’s bust of Judge Gerald Garson on bribe-receiving and other charges.

She and another source confirmed the movie deal with Warner Brothers and said a book deal is also in the works.

The Web site of the Fifi Oscard Agency in Manhattan, which represents Hanimov, also boasts it has sold the rights to “The Frieda Hanimov Story” to Warner Brothers.

A very pregnant Hanimov went undercover for the Brooklyn DA’s office after she complained her ex-husband, who was trying to get custody of one of their three children, had paid off Garson.

“I went to the fixer’s place,” said Hanimov.

“I went to his garage place. It’s like a warehouse [in downtown Brooklyn]. They open a steel gate and it slams behind you,” added the full-time nurse who sometimes sounds more like a seasoned detective.

“There’s no way out. Even if the DA wanted to help me, there’s no way.”

Hanimov says she put herself in danger to gather information about the men she believed were in cahoots with the judge for one reason: her kids.

“If they tell me to fight with a tiger, I fight with a tiger,” she said. “I’ll do anything to save my kids.”

In the end, the tapes she made – as well as subsequent video and audiotapes taken in the judge’s chambers – helped lead to arrests of the judge, his court officer, a retired clerk, the suspected fixer, a lawyer who allegedly worked with him and several litigants.

News of the arrests led many others to come forward with complaints about Judge Garson – and Hanimov’s determination and daring earned her the comparison with whistle-blower Erin Brockovich.

Played by Julia Roberts, who won an Oscar for her role in the 2000 Universal Pictures film, Brockovich was a single mom whose dogged pursuit of the power company that polluted her California town’s water supply led to a $333 million settlement.

While Brockovich got a chunk of the settlement, Hanimov notes she got much more.

“My kids are worth more than a million dollars,” she said.

A Warner Brothers spokesman could not immediately confirm the movie deal, and Hanimov’s agent, Fifi Oscard, could not be reached for comment.