The city's Department of Consumer and Worker Protection will oversee how and where vendors operate starting on Jan. 15.
The same department will continue to respond to food vending permits and health code violations.
The mayor wants police officers to be able to focus on major drivers of crime in the city.
"Our officers must be able to focus on the real drivers of crime," Mayor Bill de Blasio said. "Having Department of Consumer and Worker Protection coordinating the City's vending policy and enforcement efforts strikes the right balance as we rethink how law enforcement resources are used in our city. DCWP has a strong record of protecting New Yorkers, and I'm confident they're up to the task."
The NYPD made headlines last year after a confrontation with a food vendor in a subway station went viral on social media.
MORE NEWS: Family kicked off NJ-bound flight due to 2-year-old mask violation
* Get Eyewitness News Delivered
* More New York City news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube
Submit a News Tip