Zohran Mamdani, the democratic socialist who campaigned on a promise to tackle the affordability crisis in one of America’s most expensive cities, vowed to govern “expansively and audaciously” as he was sworn in as New York City’s 112th mayor Thursday.