Make sure battery terminals are tight and check alternator. Provide more details too because if youre saying it dies when its actually stalling out, then you would be likely looking in the wrong system. A stalling out concern could indicate a lean condition, where you have too much air to not enough fuel. You could have misfire, which would lead to the same lean condition, fault catalytic converter can cause back pressure and cause it... a lot of things to look at with a stalling concern, but describe what is actually happening when the car stops working properly while driving