Do you think it is electrical or fuel? Since you can get it to start, my guess is its probably a fuel problem. The first thing to suspect is the IAC (idle air control valve). You don't say which engine you have but i'll assume you have the 4 cylinder.
This year Camry V6 does NOT have an IAC but the 4 cylinder does, when it gets too dirty, which can happen in less than 30,000 miles, it can cause the stalling problem you have, so clean the
iac-
How to: Cleaning Throttle Body, Pictorial
If that doesn't fix the problem, the next thing to check is the fuel filter (again, on 2002 V6 simply does not have a fuel filter, only a strainer in the fuel pump in the fuel tank that only gets changed if the fuel pump does. I dont know for sure if the 4 cylinder has a fuel filter or not).
If your engine has a seperate fuel filter, its probable location is drivers side, rear of engine, about halfway down inside the engine compartment.