It is most likely the main engine wiring harness. Get the car in the air, turn it on, and have someone shake the harness while it's running. If the car shuts off or starts running weird, that's your problem. I was having the same problem with my Denali last year. It took my mechanic and the...