After five years without a contract or a pay raise, the members of the Pittsfield Fire Department got a new contract yesterday when a state-controlled board overseeing the city's finances approved a deal that will pay the firefighters more than $1 million in back pay.