The settlement was filed late Thursday in the District Court of San Francisco, and is set to be approved by a judge at an upcoming hearing on Feb. 14. Volkswagen is expected to plead guilty on Feb. 24 to three felony counts as part of the plea agreement with the U.S. Justice Department as it looks to finally close the book on the scandal.

The agreement with VW customers and the U.S. Federal Trade Commission includes resolutions for approximately 78,000 affected Volkswagen Touareg, Porsche Cayenne, and Audi Q7, A6, A7 and A8 vehicles with 3.0-liter TDI V6 diesel engines in the United States.

Volkswagen has now paid upwards of $25 billion to buy back or repair approximately 500,000 vehicles.

(Ted Soqui/Corbis via Getty Images)

58,000 3.0-liter TDI V6 vehicles in the 2013-2016 model years will get recalled and repaired, free of charge to the customer. Volkswagen believes it can fix the affected vehicles in a timely fashion. If it’s successful, customers will get compensation between $7,000 and $16,000, and an additional $500 if the fix affects a vehicle’s performance.

In the buyback option, as the name implies, owners of 20,000 2009-2012 Volkswagen and Audi 3.0-liter cars will have their vehicles bought back by the dealership, and given an additional $7,500 on top of the value of the vehicle.

In a separate settlement, Bosch, the world’s largest car-parts maker, which supplied control software for the diesel engines, agreed to pay $327.5 million to compensate owners of 2.0- and 3.0-liter diesel engines equipped with emissions-cheating software.

Owners of 2.0-liter vehicles will receive $350, and 3.0-liter owners will get $1,500 from the company.

Bosch is involved in a separate investigation into technology it supplied in Fiat Chrysler Automobiles cars currently subject to a separate U.S. probe into possible emissions-cheating violations.

Volkswagen’s newest settlement is one of the last major hurdles it has to jump before it can finally put "Diesel-gate" behind it. The settlement follows last month’s $4.3 billion settlement and 480,000-vehicle buy back of 2.0-liter TDI diesel engines. The German automaker’s bill now stands at $25 billion to buy back or repair about 500,000 polluting vehicles.