When you push the button the first thing that tries to engage is the rear actuator on the transferbox. This then sends a message to the ecu, which will then tell everything else to work. I would start here and check that you an hear it.
They fail particularly if 4wd isn't used much.
As mention vacuum pipes are also a common culprit and cheap and easy to replace if you are unsure when they were done last.