It depends: 2wd or 4x4?
2wd is just like every other 2wd rwd vehicle since the dawn of time. There is a dust cap, cotter pin, retainer, and spindle nut and thrust washer to remove, then the rotor (with the bearings) slides off the spindle.
4x4 is just like most donestic front wheel drive vehicles. The rotor is just sandwiched between the wheel and the hub. Reomve the wheel and caliper, and the rotor is *supposed* to fall off, although they seldom do. The back side of the rotor corrodes to the hub face, and the center of the hub rusts and swells, locking the rotor in place. As a last resort, you can remove the center nut from the hub, and the three bolts that hold the hub into the upright, and have the hub pressed out of the rotor at any good machine shop. Sometimes a BFH will jar the rotor loose, but that often results in brinnelled bearings which need to be replaced a few thousand miles later. (been there, done that) Some heat on the face of the rotor sometimes helps crack the corrosion loose, a three-jaw puller in conjunction with a ball-peen hammer usually works pretty well for me.
To prevent it from happening again, use a thin layer of anti-sieze on the face of the hub to prevent the corrosion from gluing the new rotor in-place.
-Joe