Where's my electrical gremlins? Wont start!

I have some starting issues which popped up recently, and currently am at a loss. When the ignition is turned to start it, there isn't a crank, sputter, click..... anything. (This may sound weird) but when i mess with the headlights by turning them on and off a couple times, then leaving them on, then turning the ignition switch to start followed by turning the lights off, then itll start.(still holding the ignition on the start position). I have put a new battery, checked the power coming from both the battery and the starter relay(everything checks out good up to the starter relay power wise with voltmeter) Checked the connections on the starter, as well as the ignition switch itself. I changed out the ignition switch as well, and to no surprise, it didnt fix anything so the old one was put back in. Another weird thing, i changed the starter relay as well......nothing. When the terminals are jumped on the relay, itll crank over just fine. Any ideas of what could be causing this? Im not sure if this could be a related issue as well, but when the sucker gets hot,(after i do the starting procedure mentioned above) itll just crank over and it will not start until i let it sit for about 10 min to cool down.