depends on how the relay is wired. I have some relays that the yellow wire is the output. my other relays the yellow is the trigger. if its the trigger than hook it to the toggle switch