2003 300M Special -- Hard Start and Sputtering Acceleration

My '03 (93K) has developed a sporadic hard start issue (sounds like the car is flooded- depressing the accelerator will make it start, but very rough running at first). The car also stumbles or sputters at times (not always) when the car is accelerating. When the car sputters, it seems as if the engine will die, but it recovers. I have noted the stumble at low as well as highway speeds - but usually only when accelerating, not at cruising speed. I had this problem a few weeks ago, and I had the timing belt replaced, all new plugs and wires, and cam sensor replaced. (The car had given the codes P0340 and 0341 – so the mechanic replaced the sensor.) However, I am getting these codes again (don’t know if the codes are new or old ones) and problem is back (stumble, rough running). Can anyone help troubleshoot this issue? Thanks for your help!