i would have to think the knock sensor is throwing a code, so its shutting your car down when you get on it.

see if you can check your wires or that the plugs are still on, i believe the rear one is a pita to get to the trans kinda blocks it.