I once had similar problem. My Merc. 150 would idle, but when I would shower down for takeoff, it would just die out. I tried new gas, new plugs, etc. Long story short, the internal check valve in the primer bulb had come apart and when I would hammer on it, it would suck the check valve up and shut off the fuel. It is worth a look at.