The fuel shut of solenoid should be an easily removable piece, unbolt it and remove the fuel fittings, being sure to either drain the tank or keep elevated
In order to replace the fuel shut off in your Cummings engine you will have to get under the hood. Once under the hood, the shut off is near the fuel pump.