On the earlier pumps the solenoid has two connecting wires, one power and one ground. On newer pumps the solenoids have one terminal grounded through the frame of the solenoid. pump body, and engine, with only one power wire.
You probably just need to figure out which of the two wires is power and connect that to the solenoid terminal. Then tape up the remaining ground wire.