Boeing Co. is set for a pivotal moment in its ongoing legal battle, with a U.S. judge scheduling a criminal fraud trial for Jun. 23, highlighting the aerospace giant’s persistent challenges stemming from two fatal 737 MAX crashes that claimed 346 lives.