Toyota Motor Corp <7203.T> has agreed to pay more than $1 billion to settle U.S. litigation over claims that its vehicles suddenly and unintentionally accelerated, according to court filings made public on Wednesday.

The deal, which must be approved by a California federal judge, includes direct payments to customers as well as the installation of a brake override system in about 3.25 million vehicles, plaintiff attorneys said.

The terms include a $250 million fund for former Toyota owners who sold vehicles at reduced prices because of bad publicity, and a separate $250 million fund for owners not eligible for the brake override system.

Plaintiff attorneys are slated to receive up to $200 million in fees and $27 million in costs, according to court documents.

(Reporting by Dan Levine; Editing by Dan Grebler)