A New York City college professor who wrote about ending policing, was appointed by mayor-elect Zohran Mamdani to work on community safety issues.