To replace the rear driveshaft, start by disconnecting the negative cable from the battery and securely raising the vehicle on jackstands with the transmission in Neutral and the parking brake off. Look for factory yellow paint marks on the axle companion flange and driveshaft flange; if not visible, create alignment marks using a scribe or white paint. For 4WD models, repeat this marking process for the front end of the driveshaft. Remove the bolts to lower the rear driveshaft, detaching the front end from the transfer case on 4WD models or sliding it out of the transmission on 2WD models. Installation follows the reverse order, ensuring alignment marks are matched, and for 2011 models, tighten the driveshaft-to-axle bolts in a crisscross pattern to specified torque. For two-piece driveshafts, repeat the initial steps, then remove the bolts securing the center bearing bracket and the driveshaft from the rear axle. On 2WD models, disconnect the driveshaft from the rear axle companion flange, and on 4WD models, from the transfer case. During installation, lubricate the slip yoke splines, inspect the housing seal, ensure the center bearing bracket is square, and align the paint marks before tightening all fasteners to specified torque. For the front driveshaft on 4WD models, mark the driveshaft and differential flanges, unbolt the flange securing the double cardan joint, and remove the bolts securing the front end to the differential yoke. Wrap tape around the universal joint bearings to prevent them from falling off, then raise the front driveshaft into position, ensuring alignment, and install the straps and bolts, tightening them to specified torque, with a crisscross pattern for 2011 models.