Did you brake the shaft or the ujoint? I assume this has happend off road as your front shaft shouldnt spin in 2wd, and hubs unlocked. Is your jeep lifted??..Your driveshaft angle may be steep for normal operation. We probably need a little more info on your jeep to help. lifted, lockers, tire size, gear ratio, is the egine stock or modified?
PS.. quadra-trac equiped jeeps didnt have the lockout hubs did they?