The owners manual says you must activate the 4x4 system often to keep it functional. If you don't, it may freeze up.
Most likely a abs sensor, check abs codes. clean them check the wires. Also the wires on the diff.
If there's an ABS issue, there should be an ABS or related light on the dash.