Engine Issue

I have a 2002 Chrysler Sebring with 116,000 miles and over the past month the engine has shutoff as I am driving and once I park turn the key off and turn on it has started to run again. This has happened about four times and each time it has been difficult starting it after the car has stalled. The most recent time this happened when I went to restart the car, a grinding noise became apparent. The last few times that I have started the car the grinding noise would be heard only to ultimately fade away in about 15 seconds. The check engine light came on and went to get the code and it came back suggesting a problem with the camshaft position sensor, but I don’t fee the noise is related to that. Any ideas?

Could be two problems…The camshaft sensor might be causing the stalling and the grinding noise could be the starter failing…