New York’s status as a sanctuary city for undocumented immigrants has shifted over time. Now, as President-elect Donald J.