Simplest way to test the solenoid, no voltage with key off I assume? turn the key on, does it have battery voltage? start the engine, does it have battery voltage? after the engine dies, does it have battery voltage?
more complicated way, run a test lead into the cab, and watch the voltage on a multimeter as you turn it on, start it, run it, and watch it die.
If there's only those two solenoids, then the fuel shut off is what you want to test. If the voltage is still present after the engine dies, then check the ohms of the solenoid before starting it, and again after it dies, in case it is an intermittent failure as it warms up, and works again when cold.
more complicated way, run a test lead into the cab, and watch the voltage on a multimeter as you turn it on, start it, run it, and watch it die.
If there's only those two solenoids, then the fuel shut off is what you want to test. If the voltage is still present after the engine dies, then check the ohms of the solenoid before starting it, and again after it dies, in case it is an intermittent failure as it warms up, and works again when cold.