It won't lock in 4wd on 2004 Nissan Titan

I have a nissan titan & it won't lock in 4wd. It's been working fine. But yesterday it quit locking in. It looks like it's in 4wd on the dash but the front wheels won't pull...

Asked by for the 2004 Nissan Titan