Would the one out of my 99 Silvy work in my 04 Sierra?

They both have the same push button 4wd panel.

Would have to be programmed?