The nation’s second-largest bank was ordered to pay $250 million for illegally charging junk fees, withholding credit card rewards and opening fake accounts.