Zohran Mamdani, a 33-year-old Queens assemblyman and self-described democratic socialist, officially clinched the Democratic nomination for New York City mayor.