A Bessemer man has pleaded guilty in a 2022 shootout that left himself and a Hoover police officer injured.