In this work, a novel idea of optical switch design based on guided mode resonance in the photonic crystal structure is numerically investigated. The designed switching device work on the principle of optical amplification and wavelength shift of data signal with the help of a control signal. The data signal can be coupled into the waveguide using guided-mode resonance, whereas, a control signal is index-coupled into the waveguide to influence the data signal. The optical switching action is optimized by introducing a photonic crystal cavity and varying the number of photonic crystal elements, where the resonant wavelength, reflection peaks, linewidth, and quality factor of the data signal can be adjusted. The device is based on low refractive index contrast dielectric materials compatible with fiber optic communication and can operate in a near-infrared range of around 1.55 μm. The numerical simulations are carried out in an open source finite-difference time-domain-based software. An optical switching action is achieved with 7% amplification in the data signal at a central wavelength of 1.55 µm with a maximum shift of the wavelength of 0.001 µm. The proposed device can be easily implemented in cascade designs of programmable photonic and optical switching circuits.