runs with key in start position. but dies when its out

the resistor fixed it!.... but the problem ive had with it since i baught it last year. it will run for about 10 minutes..then shut down. after i let it set for a day or so it will start right up. i dont drive it a lot just move it in and out of the shop cuz im in the process of restoring it