you need to take your car to a shop. a lot of times when your CEL (check engine light) comes on and your engine shuts off, it's because there is a critical failure. your car turns off for a reason, and that reason shoudlnt be disregarded.
it could be something serious, or it could be as simple as putting coolant in your engine (what does your engine temperature read before it shuts off?). if you're out of coolant, your engine will shut down when it gets too hot (since your at a drag stip, you're obviously running your car very hard).