I would advise taking it to a garage and having it looked at properly. It could well be a fuel delivery fault; blocked filter, pump failing or whatever. I do not think it is the fuel cut-off switch, as they are generally a basic on-off type, and either work or not, they don't tend to 'muck about'.