If you go to a parts guy that's not just a "look up" guy, and describe it... There's other options that will do the job. For exact "bolt in" you're kinda stuck... But the other alternatives might even bolt into the original bolt holes.
If you go to an AutoZone, you can ask them to pull the "F" boxes from the shelf. Like for part number F490. Part F490 has 4 pins, and the smaller bolt likely much smaller. But with creativity it would work. You'll have to figure out which of the two smaller pins is the switch signal pin. But anyway, if you ask them to pull that tray or box of "F" parts, you can look in each box by part number and find what your looking for. The solenoid you want will be in that range of part numbers.
If you go to another store, give them part number F490 and ask them to help you find things the same way as the AutoZone process. But again, you have to find a guy that's willing to dig behind the counter. I used to do it all the time at AutoZone, and at NAPA, when I was a partsman.