If you have "Fire, Fuel, and compression"... it should run.
SO... one of those things aren't what you think it is.
1) Fire: Did you check to see if your spark is right? The flywheel could have slipped, and the timing is WAY out.
2) Compression: What is it? (Give us a number) We get guys all the time that just stick their thumb over the hole, and say it's OK... but in reality, it's not. It only takes a few PSI to push your thumb out of the way.
3) Fuel. How do you know? OK... generaly fuel doesn't cause a quick shut off... but its hard to tell if fuel is actualy coming out of the carbs.
So... with that said....... The things that will shut you off while running....
1) Melted piston(s). a real compression check will show you that.
2) A destroyed Rotary Valve. (or gears)
3) Ignition. Could be a bad flywheel, bad CDI, Bad lanyard post... or anything in between.