Okay. I attached the diagram for P0118 and P0401. I would start with the P0118 and after you fix that code, clear the rest and see if the issue happens again. If it does then we need to see what returns. I suspect the P0401 is a result of the issue you are seeing. However, that will be clear once the P0118 is gone.
Since you already replaced the sensor, the only other options are a wiring issue or a PCM issue.
If you run through the test, you will find the answer. Then we just need to restest it after you figure that one and go from there.
Let us know what you find and we can go from there. Thanks
Images (Click to make bigger)
Saturday, January 18th, 2020 AT 6:54 PM