The check engine light comes on after a longer drive on the highway but it does not come back on after you shut the car off for a while and restart it again and drive in city limits why?

Check your O2 filters