Didn't you just have new gears put in?

As Bart asked...does everything work in 4lo? If not I'd have the ring and pinion checked. If everything works in 4lo but not 4hi check the wiring /plugs going into the transfer case. Hitting the mud may have pulled something loose or got mud in the connector (needs cleaned).