I have a similar problem with my 1996 P38 4.0 V8 petrol/LPG.
When it gets warm it sometimes misfires or cuts out completely and then there is often a problem restarting. This happens whether it's running on petrol or gas.
I tried changing the cam sensor, as several mechanics suggested this...