Four people were injured in nocturnal violence in New York City, police say