Lots of different things can cause a phone to reboot randomly, and it can be difficult to pinpoint the cause. Try booting into Recovery Mode and wiping the cache partition, which won't erase any personal data: Reset: Samsung Galaxy S 4G T959v | T-Mobile Support