If the automatic transmission shifts in and out of overdrive while cruising, it may be from a coolant thermostat that is stuck open. The engine must reach full operating temperature for the overdrive to engage properly. If possible, check to see the engine is running at full operating temperature while cruising.