A thunderstorm rolled through the region, causing disruptions, and a haze raised air quality concerns in New York City.