Disconnect the yellow lead that runs from your on off switch (if 2 wire) to your engine, there is only one yellow wire so you can't go wrong, then try it, as mentioned its the low oil float switch but can very often play up, even if full of oil, just try it to see what happens... if not then you need to be looking towards the carb, I would just get a new carb thrown on it, they're only 20 quid and literally a five minute job