2003 Saab 9-3 engin stops running when heats up and starts up when engin cools down

I have a 2003 Saab 9-3 turbo. When I drive the car for a few miles the engin dies out. When the engin cools it starts back up. I replace the ECM and still have the same problem. Can anyone help me. I already spent $600.