I'll bet you have a combination of problems. From my reading, you definitely have a temperature dependent problem. They fact you got stranded on the roadside - left the card to 1+ hours to cool - then it started and ran fine is a HUGE clue.
What does your engine temp guage read when it runs good and when it runs bad?
There are (atleast) 2 temp sending units on the engine. One up by the thermostat housing, the other on the block, behind the fuel injection pump. I'd start by testing them both for proper operation (or blindly replacing them). Then I'd check those 4 relays all for proper operation. There are actually 5 relay like things to test / work on: the 4 mounted on the driver side fender under the bonnet (US model cars), and the shutoff mounted to the rear of the fuel injector pump. I HAVE TO BELIEVE that something is malfunctioning in this arena. Use the test procedures outlined in the BBB to test these.
Once you have isolated and resolved any issue with these, I believe the symptoms that remain will be more indicative of the other half of your problem --- as others said, likely fuel supply.
...I doubt your problem is water in the fuel - because there's no way that letting the stalled engine cool for 2 hours would resolve water in the fuel and allow the car to start and run well. I suspect a delivery problem - maybe something as simple as a clogged fuel filter, or something.
Remember, the speed relay works closely with the other relays and talks to the distributor for vacuum retard (or advance - depending on the model), and it talks to the intake manifold (in the form of vacuum pull). These relays are covered in the engine emissions section of the BBB - and can have a HUGE impact on engine performance.
good luck, and keep us posted.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~
William Blair Wagner: blairwag@earthlink.net
Education is not always knowing the answer,
...but rather knowing where to look for it!
1971 280SL US Automatic
~~~~~~~~~~~~~~~~~~~~~~~~~~~