An ex-cop trailing the wife of New York City’s mayor finds himself immersed in a larger scandal.