The transfer case and cruise on most of our trucks is controlled by vacuum you probably have a vac leak or something like that, my 4wd light was going on and off and my cruise wasn't engaging. The vac line to my transfer case was loose. That would be where I would look first.