It wouldn't have died, while running, as a result of a solenoid failure. I'd be checking things like the ground cables (battery and harness) connection at the engine block.

Your charging voltages...