In my car I had a very similar failure, although those sensors can be giving you that fault, I recommend that you also check the spark plugs, it could be that it is very low and loses power to high revolutions. It could be the ignition coil. I say just in case they check them.
Hello, very grateful to all the suggestions I did everything recommended, in the end Tube that changing the sensor improved everything I eliminate the problem after prescribing the light of Check Engine, inevitable if these codes are presented, not thinking about it much changes the sensor, thanks for your contributions.