Dodge Diesel/Cummins Mechanic Advice Needed

The fuel shut off solenoid is stuck There is a rod under the pump pull outto start push to stop. You can operate this manually to start it . but it will shut off on its own with the key.