Wells Fargo & Company and its subsidiary, Wells Fargo Bank, N.A., have agreed to pay $3 billion to resolve their…