It happened Saturday afternoon at the Wilton Walmart in Saratoga County. New York state troopers say Leonardo Miller, 22, of Stratford, Conn. was lighting fireworks in the store's electronics department.
Troopers arrested Miller. He faces several charges including disorderly conduct. He's due back in court in April.
It was unclear why he was setting off the fireworks. No one was hurt in the incident.
Get breaking news alerts in the FOX5NY News app. Download for FREE!