A transformer explosion sparked a fire on the roof of Citizens Banks and knocked out power for thousands of customers in Lancaster County, according to the Willow Street fire chief.