Fifth Third Bank has agreed to resolve claims that it harmed thousands of customers by opening fake accounts and charging for unnecessary insurance.