I assume this rear end is new to you (so you don't know it's history) and it could have been mis-treated so the shafts are questionable - hard to believe BOTH shafts are bent, though. I would make certain that the wheels are not bent by putting the tires on the front of the Jeep and turning them by hand. I've seen plenty of rims that are "a litttle off" and I've had a few tires that were "off" too (the tread walked side to side a little when turning, LOOKED like a bent rim but was just the tire) . If they are nice and straight on the front the next thing I'd check is the flanges and brake drums on the rear. Make sure the flange faces (flat area between the lug studs) are clean and have no protruding objects (a common protruding object would be the remains of a brake drum screw) . Also make sure the inside flange area on the drums is clean. Running true depends on having the wheel, brake drum, and axle flange all clean, flat, and tight. After all this is checked you could start to look for bent shafts. At that point you might want to get hold of a dial indicator, mount it to the brake backing plate, and see exactly where the bend is. It's hard to believe that both shafts were bent - what did they do to that poor Scout??? The only shaft I've ever bent was on an AMC 20 when it was broadsided by a heavy city plow (my poor old CJ7, RIP) . It looked like a clown car with the wobbly wheels. I drove it that way for a little while... People would yell over and point to the wheel all the time - "Dude!! your wheel's falling off!!!" Hehehe
Best of luck - John