Toyota has agreed to pay about $1.1 billion to settle a class action lawsuit launched by US vehicle owners affected by a series of mass recalls, the Japanese automaker said Wednesday.

The deal will cover the cost of installing a free brake override system in millions of vehicles affected by the recalls and cash payments to those who sold their vehicles or decline the brake override.