Exceptional Three-Level Switching Behaviors of Quadratic Nonlinear Optical Properties in a Tristable Molecule-Based Dielectric