On a speed density system(map sensor ) it will use manifold pressure (map) throttle position (tps) engine speed (rpm) to determine engine load. Ive had any one of these kick my but in driveability issues. O2 sensors very rarely cause the issue you describe unless they short out. The best bet is to look at the data as it does it to see if anything goes wacky such as coolant temp at negative 199 degrees or throttle position wide open at idle.
Sent from my SM-G935T using Tapatalk
Sent from my SM-G935T using Tapatalk