Little spark/ wiring help

well turning the fuel off still leaves you with about 2 minutes of idle

look at a wiring diagram to find out where it goes. i know there are about 15 links to it in this thread
 
OK so I fixed the kill switch..now my engine gets real hot after only 10 min ride or so I have stock everything on the bike is this normal.?