Merecedes E350 - Park


After a long drive or a hot day when you come to a stop the car shifts( locked ) from drive to park. The only way to get it back in drive mode is to shut the car off and on and then shift to drive. 

What is causing this to happen and how do you fix it?