Not just u-joints. There is a good chance the whole rear driveshaft needs replacement. The 2WD prop shaft has a rubber vibration dampener/coupler that wears out and requires a complete shaft replacement to fix.
It *could* just be u-joints, but be prepared for it to be the whole shaft.
-Charlie