About a week ago I came home and my car sat for maybe 5 minutes. When I got back in the car and started it, it started sputtering like it was starving for fuel and stalled out. I turned the key to the off position and back to start and the car started right up and ran fine.Since that time I have put maybe 200 miles on the car with no problems. Today I was at the drive thru and turned the car off while waiting for my food. The car had been running good before this. When I started the car it sputtered for a couple of seconds and stalled out. I turned the ignition to the off position and started it again and again it sputtered and stalled. This happened 3 times. On the 4th off to start cycle the car started and ran normal on the 6 mile ride home. On the ride home I noticed the service engine light was on. The code is P0190 fuel rail pressure sensor. I turned the car off when I got home and immediately started it and it ran fine. The only other issue I have noticed is when idling in heavy traffic or in drive thru lines every couple of minutes the idle will drop to around 400 rpm's but will immediately recover.Since the car runs great other than the times mentioned I do not think it could be a clogged fuel filter. I am thinking it is probably the fuel pump going bad. About a month ago The car would not start at all. I traced that to the fuel pump shut off switch. I fixed that problem by bypassing the switch and connecting the wires together. I don't think that problem was related to the problem I am having now. The car would not even sputter when the switch was bad it would just keep turning over. Any input on this is appreciated.