Any ideas why my 4x4 light is flashing?

While I’m driving the truck it feels like 4x4 is engaged but the J shifter & 4wd button aren’t. The light keeps flashing non stop. I can throw it in 4H & back to 2wd and the light will stop flashing for like 3 seconds then starts to flash again. Any ideas??? PLEASE HELP