Q: 4wd does not always engage, why? on 1998 Chevrolet Blazer

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
after pressing button light will sometimes appear to change from 2w to 4wd however it is not engaging
(2) Answers
Vacuum switch on top of the transfer case is the most likely suspect. Vacuum servo under the battery tray is next. Vacuum circuit to these componets is next. So obviously it is vacuum actuated. Very few elcetrical/mechanical problems on this system!! Own a 2000, had an older one, replaced the transfer case vacuum switch on both as well as serveral for customers. If the 4x4 light comes on steady (not flashing) then elect. system should be ok.
NAPA part # for the vacuum switch is 7301639.
could be dirty connections. could a mechanical issue with the transfer case. try cleaning the sensor connections and running a diagnostic on it.