I hope you've sorted this out by now. I was having similar issues earlier this year and instead of the engine shutting off I developed a horrible misfire (I was using the timing control settings). I tried everything, replaced the coil, replaced injectors, replaced the magnetic pickup in the distributor, replaced the o2 sensor, wrapped everything in foil and nothing helped. It ended up being my spark plug wires and coil wire. I started my engine at night, in the dark and you could see electricity arcing from all of the ignition wires onto the efi unit, heater lines, anything metal, it was crazy. I relocated my coil closer to the distributor and replaced all of my spark plug wires the next day and the problem was gone instantly. Id highly recommend replacing your wires, mine ran great for two years before this problem developed what seemed to be overnight.