A federal judge has approved a settlement worth hundreds of millions of dollars between the Ford Motor Co. and claimants to a class-action lawsuit over one of the largest auto recalls in history.

Judge Federico Moreno of the U.S. District Court for the Southern District of Florida approved the $299.1 million settlement between Ford and class members who had been affected by the international automaker’s recall of vehicles with defective air bags. The devices in question were manufactured by Takata Corp., a Japanese company that provided air bags to Ford as well as Toyota, Honda and several major car companies.