The exit might boost former New York Gov. Andrew Cuomo’s chances against democratic socialist Zohran Mamdani.