I don't know why your convinced it's the ECU ? They are pretty tuff realy, when you drown them when off roading if you dry them out straight away they are fine!
For it to suddenly stop like that I would be looking for a faulty connection, broken wire, blocked diesel filter or in tank pump...