The man accused of shooting and killing Las Vegas police officer Truong Thai has agreed to plead guilty but mentally ill to dozens of charges, including first-degree murder, according to court records. Tyson Hampton also agreed to plead guilty but mentally ill to four counts of attempted murder with use of a deadly weapon; two counts of assault with a deadly weapon; battery with use of a deadly weapon resulting in substantial bodily harm; battery constituting domestic violence; 18 counts of discharging a firearm from or within a structure or vehicle; and discharging a firearm at or into an occupied structure or vehicle. Prosecutors agreed not to seek the death penalty, the plea agreement says. Authorities said Hampton, 27, shot Thai, 49, on Oct. 13, 2022 , as the officer responded to a domestic violence call from Hampton’s wife. Thai, who had been with the Metropolitan Police Department since 1999, was shot in the torso and later died from his injuries. Hampton’s sentencing is scheduled for June 18.…