shifting shuts my car off

Auto or manual transmission? I once had a problem with the way my aftermarket gauge wires were run so that every time I pushed in the clutch, it would short out my electrical system...

Previous carb-related suggestions are more likely.