So this is a very slow project, but I went out today and replaced the PCM pins for the high pressure fuel pump and the car ran great after this. I also installed new Plastic PCM connector hold down cams. Previously mine were missing. I drove the car today and it ran great for about an hour and then the problem came back, and it was the same problem. However through side of the road troubleshooting, I found another bad spot in the wire harness. This is nearly a break in the high pressure fuel sensor wire way down as it going under the intake manifold. I can barely even touch the spot, but I can squeeze it and the problem will come and go with each press/squeeze. I have the car in the garage now. Cleaning the garage has been such a big project that I have not worked on the car. So tomorrow it is suppose to be raining. So I think I will go out there and turn on some heat and pull the factory inner cooler off and see how much access I can get to the wire harness down there. I will likely just run an whole new three wires from the pressure sensor to the PCM. I will post another update when I have this done.
Thank you for the updates of your ordeal. My son encounters the similar problem, and I did not see anyone who solved the problem or share the fix - until this thread. So far the dealer cleaned the throttle body, MAF sensor, and changed spark plugs. And before he went to the dealer I replaced the fuel pump. So far, the car, 2015 Mazda 3, is in same condition, running limp mode. The dealer said the fuel pressure is good, but still the error code P0192 and P0171. You'd think the dealer can fix easily. Really frustrated here. Anyway, thank you for the posting.