Former Democratic presidential candidate Andrew Yang announced he is running for mayor of New York City.