"Sweet tea" is brewed with lots of cane sugar, or sometimes corn syrup. Tea has less caffeine; coffee has no sugar unless you add it. Both contribute to health problems.
Neither is particularly good for you, but tea has more inherent health benefits (antioxidants, etc.) than coffee does, while coffee has more stimulants. Tea is probably the healthier choice.