Had this problem with mine (except a little worse...she'd actually stall out). It's currently in the shop getting the final fix. :-) What kinds of codes (if any) is yours throwing? If they're related to throttle position at all, try cleaning out your throttle body (they sell stuff to do it at Autozone). If that doesn't help, hit up Autozone again and get some Mass Air Flow sensor cleaner and clean your MAF sensor. If THAT doesn't help, I'm guessing that you'll probably need to either A) replace the throttle body, B) replace the coil pack, or C) replace the ECM, depending on what kinds of codes are being thrown.
My hubby cleaned out and later replaced my throttle body (she was throwing the throttle position codes), cleaned my MAF sensor (still stalling after new throttle body), replaced my fuel filter (VERY early on when this problem first started...hubby thought it was just bad gas), AND replaced all 4 spark plugs (threw misfire codes on 2 & 4) trying to get this issue figured out. My mechanic was leaning towards it needing a new ECM, but the latest code thrown on her (intermittent misfires) pointing towards the coil pack. I lucked out and he had a used one that he was able to test it with and sure enough, she's no longer missing. He's cleaning the fuel injectors as I type and is going to drive her around a bit to make sure, but he's 99.9% sure she's good to go. Had the new code that she threw been related to the throttle body, he would've had to replace the ECM. Apparently, my throttle body and coil pack both took a crap at the same time. My hubby was able to fix the one, but was getting tired of just trying "pipe dreams", as he put it, so we caved and took her in.
Also, IF you have an 06, check out the service bulletin and recall section on here. There was a recall on the fuel injectors back in 2007 (I think) that might apply to you and could possibly be the cause of all this.