Hi John,
A bit late to the party but here's one other simple thing to try if the coolant temp switch is not the problem. I had very similar symptoms with my NL 5 kW generator stopping randomly. It would start normally and then run for a while and then die. As time went on the periods of "on"...