We explored the potential of an optoelectronic frequency hopping system within the 300 GHz band, leveraging a tunable distributed feedback (DFB) laser array and uni-traveling carrier photodiode (UTC-PD). Our experiments successfully achieved a 10-channel terahertz (THz) frequency hopping, marking a significant advancement in THz secure communication technologies. Notably, the system exhibited a rapid frequency-hopping capability with a short transition time of 0.8 ms between channels, ranging from 288 GHz to 331 GHz. Further, we conducted data transmission tests at a rate of 5 Gbit/s across several channels. The results were promising, showing each channel maintained a clear eye pattern and a low bit error rate, crucial factors for reliable and secure data transmission. These findings not only demonstrate the efficacy of our system but also open new avenues for high-speed, secure THz communication.