Yes, you can buy the relay base with wires attached but they will not match your wire colors
Relay and base seen here:
https://www.therangerstation.com/forums/index.php?attachments/image_16-jpg.22327/
This is for fuel pump but the wiring pattern is EXACTLY the SAME, 1, 2, 3, 4
1 and 2 are the coil that activates the relay, there is no polarity, so as long as you move the 1 and 2 wires from old relay base over and splice them to the 1 and 2 wires on the new base all will be OK
Same for 3 and 4, there is no order, they are interchangeable, these are the wires that send 12volts to the EEC(computer) and other engine devices, when relay is activated
Your wire colors "might be"
1 Black or black/green stripe Chassis Ground
2 Red/light green stripe Power (from ignition switch)
3 Dark Blue or Red Voltage Output
4 Yellow Fused Power (hot all of the time)
Here is a replacement base with wires attached:
https://www.amazon.com/Repair-Harness-Connector-Relay-Ford/dp/B0040CTZ7I
If there is a #5 wire on the new base, cut it short and TAPE the end