I'm having a very strange issue with my Honda Fit 2014/17. It starts with the error code "P0339", which is related to the Crankshaft position sensor, and the car automatically turns off without any jerk or anything in the middle of the drive. I got the crackshaft position sensor of my car replaced, and the error code is gone and never appeared again, but this turning off of the car still happens from time to time, not that frequently now, but it still happens, especially during the bumper to bumper traffic. The thing that I observe is that it normally happens when the car switches from EV mode to engine or from engine to EV mode.
I'll be grateful if some expert here gives me advice or suggestions on how to deal with this problem and get it resolved. I have already consulted multiple reliable mechanics, but they are unable to rectify this issue whatsoever.