Defense contractor Raytheon on Wednesday agreed to settle allegations it defrauded the U.S. government and bribed a Qatari official for $950 million.