A crazed man jumped onto the subway tracks and threatened to kill himself — all while ranting for “equality” and “social justice,” a witness said.

The unidentified man was holding a bottle of vodka when he started yelling and jumped onto the D- and B-line tracks around 1:30 p.m. at the 42nd Street/Bryant Park station on Wednesday, said Brooklyn-based photojournalist Eli Wohl, who captured the scene on film.

While first responders and straphangers worked to get the man off the tracks, he taunted them by licking his finger and threatening to touch the third rail, Wohl said. He was eventually removed without injury.

“He said: “Should I lick my finger and touch the third rail?’”

The lunatic was still mumbling about equality when a Brooklyn-bound train — warned by the authorities — slowly pulled into the station and stopped at the entrance.