I have a 1990 XJ6 4litre motor. Some times you can be driving and it just shuts down,as if it is not getting fuel.
Have checked filter ,thats ok . You have to sit for 5 or 10 mins to get it started again. It is not over heating. It starts but will only rev to 600 rpm then dies, leave it a bit longer and try again and it starts.