Originally Posted by monkeyposeur
I'd clean your EGR valve (have a new gasket on hand when you reinstall it) and your check vacuum lines. Check your ground connection to your starter as well (although that wouldn't cause it to die while running) because that might be why it won't even click and your starter relay.
Probably wouldn't hurt to run a bottle of HEET injector cleaner. Other things to check would be the fuel pump, injectors, and ignition coil. You might have a few problems going on at once.
edit: On the passengers side of the engine bay is a vacuum line running from the passengers strut tower to the engine bay that has a small (quarter size in diameter), round filter on it. they are $7 from Subaru. Replace that as well.
post pics if u gottem i went out this morning to check my grounds and things of that nature,all that i can find seem to be in good condition nothing frayed or corroded.I also looked at and checked all of the vacuum lines. They all seem to be in good condition. i let the car warm up to o/t went for a quick ride and it stalled once but fired right back up How do you clean an egr valve and iacv (if at all possible to clean the iacv on these cars) never did before ive heard of people doing it before but never attempted it my self