If you have manual locking hubs, they are either locked or unlocked. They wouldn't kick in and out while you drive. If it only pulls when the hubs are locked, then I would suspect the driveline like I stated above. If you are running the stock hubs, you can easily check to make sure they are locking by the same method, lock the hubs and make sure the transfer case is in 2wd, then try to turn each CV shaft by hand. If it turns, that hub isn't locking. If the transfer case is in 4wd, the shafts wont turn even with unlocked hubs because they will be locked to the rear shaft, make sure you are in 2wd.
Even still a hub problem wouldn't cause the pull like you described.