Why does your 1996 Oldsmobile aurora cuts off when i drive it?

There is a sensor that shuts your engine down when it overheats you should check your coolant level, check the coolant fan, check your thermostat to see if it is open,check to see if your radiator is plugged or restricted, check radiator cap, check to see if any hoses are collapsed, and check system airbound.