Hi guys,
Had the same issue recently. Car would turn off the engine, only power steering and brakes would work until I stop and restart the engine. Many mechanics thought it was an inverter problem but a wise one actually put in his inverter into my car and the issue persisted. The problem was the transmission. Bought a used transmission in good condition, replaced it and now everything works fine for half a year already. Performs way better as well. I would put my money on transmission. Hope anyone who struggles with the same problem will find this helpful