This paper proposes a patterned graphene periodic metamaterial structure, optimized using an improved genetic algorithm to adjust the position and size of each graphene strip, thereby achieving dual plasmon-induced transparency (PIT) effects in the terahertz band, resulting in extraordinary multifunctionality. The finite difference time domain method is employed to obtain the transmission spectrum, and coupled mode theory is used for theoretical analysis and verification of the dual-PIT effect. The structure exhibits multifunctionality: when used as a photoelectric switch, it achieves a modulation depth of up to 99.04% with an insertion loss as low as 0.16 dB by tuning the Fermi level. Additionally, the structure demonstrates excellent sensing performance, with a maximum sensitivity and figure of merit reaching 0.84 THz/RIU and 88.55, respectively. Furthermore, the slow light performance of the structure is investigated, showing a group delay of up to 0.5 picoseconds.