Have you tried changing the fuel filter? The way you explain it may be something else but filters are cheap and I had the same type of cutting out a while back, I thought it was going to be something electronic but after changing the filter it's fine.