when i troulbleshoot issues like this I first start with the basics. is it getting fuel, air and spark, it starts occasionally so you are getting spark and air, I don't know if you have troubleshot the fuel pump, or the fuel pump strainer is clogged causing the intermiment starting. check out...