A longtime New York City judge accused of threatening staffers who complained about his “rude” and “unprofessional” behavior with criminal complaints was allowed to quietly resign — and has already landed a cushy job at a top corporate law firm, The Post has learned. Former justice Louis Nock, who has served on benches in Manhattan…