In this study, a T-shaped, four-period resonant slow-wave structure is optimally designed, and its high-frequency performance is comprehensively analyzed in theory. By using the image theory, the T-shaped waveguide unit is transformed into an equivalent ridge waveguide configuration. The high-frequency characteristics of the equivalent ridge waveguide, such as resonant frequency and structure of the T-shaped waveguide are analyzed by using equivalent circuit theory. The analysis has confirmed that in the ridge waveguide, starting from the second-highest order mode, the frequency points of the even-order modes are very consistent with those of the T-shaped waveguide; however, the odd-order modes have no such corresponding mode in the T-shaped waveguide, for they do not fulfill the electric boundary conditions required by the image method. On this basis, a T-shaped four-period resonant slow-wave structure is constructed, and its dispersion characteristics are analyzed to determine the resonant modes and frequencies, as well as the range of mode synchronization voltages. Simulations are subsequently performed to validate the effectiveness of the relativistic extended interaction radiation source, which includes the novel T-shaped periodic resonant slow-wave structure. Advanced three-dimensional particle simulations, in conjunction with optimization techniques show that a high-power microwave output at a frequency of 9.8 GHz, is achieved, which can delivers an average power of 71.4 MW. This output is attained under the conditions of a 448 kV beam voltage, 400 A beam current, and a 0.4 T uniform axial magnetic field, with an electron efficiency reaching 39.8%. This structure, characterized by the T-shaped waveguide, is demonstrated to be capable of producing high-efficiency, high-power microwaves with fewer periods, presenting a compact and efficient solution for generating high-power microwaves in advanced scientific applications.