Ok..so it's a typical relay.
Take the relay out of the connector and follow 30 to the power supply that should be fused and going to the top of your fusebox.
87 should go to the headlights to supply them with power
85 or 86 gets grounded and the other gets the signal from your headlights to turn on the relay
Then..before you leave that in the engine bay..make sure you tape it up super well to keep water from getting into it.