Toyota Motor Credit has agreed to pay up to $21.9 million and limit its retail margins on auto loans to settle U.S. Department of Justice and Consumer Financial Protection Bureau allegations that it overcharged minority borrowers on their auto loans.