Chances are is that the transmission range sensor needs adjusting. The sensor is located on the side of the transmission and is attached the the manual shift cable. When you put your car in reverse it may go slightly back into park shutting the engine off. If you have a manual it will show you where it is and how to adjust it. Very simple.