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