Possible computer error. on 2003 Mercedes-Benz E500

My car stop all of a suddent a couple of times this month and it will start with 20-30 minutes and it will show on console says "Engine Check" and next day it will clear the message> What could be the problems?

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
3 answers
This sounds like a check engine light trouble code being thrown. Start with the RepairPal article on the check engine light: http://repairpal.com/check-engine-light

You'll need a good diagnostic technician--intermittent emission control system problems can be hard to figure out.
It is definately the Crankshaft Position Sensor. Just had my replaced at the Stealership $280.
probably bad camshaft sensor