When it shut down initially did it hesitate, stumble or try to continue to run although stumbling. This may indicate fuel starvation. Filters quite dirty, air leaks in supply lines. Look for wet spots and use paper towels to wipe and pick up any traces of fuel. , I like the Blue shop towels as they show a distinct colour change if wetted even minimally.
Or did the engine simply shut down quite abruptly? This would indicate electrical problems, likely one or more poor connections.
Have you checked for poor connections at the Batteries? Loose, dirty , corroded, including crimped connections. Do your clamps use wing nuts , a very poor nut for this purpose. They should ( must) be a HEX nut. Are the connectors clean and bright on the inside of the clamp. Are the battery posts clean and bright? Are the battery post clamps tight, no slippage. If they cannot be tightened then get new ones with hex nuts.
Checked the battery cable clamps that they are clean and tight?. You will need some tools, basics such as a couple of wrenches, sandpaper. I also use a LIGHT coating of Penetrox Electrical paste to help keep corrosion at bay on the posts/clamps. There are others that will suffice. Tis messy so have some paper towels handy.
Do you have a DMM? Learn to use it and use it as you go even here. Often they can show high resistance across connections. Any thing generally more than 1 ohm in a starting circuit is going to be trouble at some point.
For DMM use purchase a long set of leads or make them for both polarities and use them so you can watch the Vdrop while testing. You must be able to see the readings. Use strong alligator or bulldog clips.
Use the DMM on voltage setting and check the voltage while cranking at the battery posts. Should NOT drop below ~ 10V. Better higher.
Your fuel control valve, allows fuel to the injection pump, should show about 80% of the 12V of the batteries to pull in initially at the control valve. If not then start looking for poor connections. These solenoids usually need at least the 80% battery voltage, then about 60% to stay pulled in. THis solenoid is what turns the fuel to the injection pump on.
See how you make out.