Mayor Zohran Mamdani selected Erin Dalton, a public official in the Pittsburgh area, to head New York City’s Department of Social Services.