Oooo good luck with this one.
Easiest way to diagnose this is to just replace the PCM and see if the issue reappears. If it does—one or more of the sensors in the vehicle are bad. If not, then obviously it was the KAM itself.
2022 4dr Badlands, 2.3L Manual, Mid pkg
YouTube: youtube.com/@ragnarkon