NEW YORK (Reuters) - Wells Fargo & Co has agreed to pay $50 million to settle a racketeering lawsuit accusing it of overcharging hundreds of thousands of homeowners for appraisals ordered after they defaulted on their mortgage loans.