Boeing will plead guilty to a criminal fraud charge stemming from two crashes of 737 Max jetliners that killed 346 people after the government determined the company violated an agreement that had protected it from prosecution for more than three years, the Justice Department said Sunday night.