The CTS is a common failure for a TBI engine. The cutting out you are experiencing is the huge amount off fuel being adding intermittently as the PCM sees an engine temp of -40* when the sensor fails. It is enough added fuel to stall the engine and cause the issues you are having. Ignition cut out issues are usually followed by exhaust backfire.