This paper presents a novel dual-band antenna design for simultaneous 5G communication and localization services in high-speed train (HST) scenarios. It operates in the frequency range 1 (FR1) n78 band at 3.5 GHz and the FR2 n258 band at 26.2 GHz. The design combines a dielectric resonator antenna (DRA) and a planar patch antenna to achieve dual-band functionality. This provides efficient performance across both mid-band and millimeter-wave frequencies for advanced 5G applications. The dual-band configuration is motivated by the need to balance wide coverage and high data rates within a single, compact antenna design, addressing the specific challenges of maintaining stable connectivity and efficient spectrum utilization in high-speed, data-intensive environments. A common challenge in dual-band antenna designs is the interference between low- and high-frequency antennas, which can significantly degrade performance or even cause antenna failure. Our design addresses this issue by minimizing interference between the patch and DRA elements, ensuring stable operation across both frequency bands. As a result, the antenna achieves impressive gains and bandwidth, with a maximum gain of 6.8 dBi and an impedance bandwidth of 22.5% for the dual-band configuration. Also, both radiators present high total efficiency above 90%. The compact size of the antenna makes it highly suitable to be mounted on the roof of the train to enable 5G communication and location-based services for both safety-critical and liability-critical applications in HST scenarios.