Facebook will have to pay more than $14 million to settle a case that alleged US workers were denied employment because it reserved jobs for foreign workers with temporary visas in 2018 and 2019, the Justice Department said Tuesday.