I'm interested in the engine cutting out as mine has done this twice within 12 month of use. Both occasions I had removed my foot from the throttle and touched the foot brake. Engine cut out and full dash lights on. Stopped the vehicle, put it into park, hand brake on, ignition off. Left it a short moment while I contemplated? Turned it back on and it fired up and drove off without another issue. Nothing on the code reader?
As a matter of routine I have looked around the engine just checking items. I removed the air flow sensor as often when gummed up with oil, this can affect performance. Basically no faults found. However, on a similar vain, I have been looking after a Ford Transit van with the same problem and the code reader came up with Throttle Position Sensor. So I removed it and cleaned it up. Put it back, so far so good.
Conclusion, I will have a look at the TPS on the Toyota.