my car starts and runs for about 30 to 40 minutes it get hot and shut off on 1999 Mercedes-Benz ML430

after cool down for one hour it starts again, I have this problem with my car in list for four weeks but is getting worse.
thanks,

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
2 answers
most likely the crank shaft sensor. It gets hot and resistance goes up and it stops sending its signal to the engine control module. you should have a code set for this but not always
seek diag and est it could be several items