Controlling
the photon emission property of a single molecule is
an important goal for nano-optics. We propose here a new mechanism
for a single-molecule optical switch that utilizes the in
situ electric field (EF) in biased metallic nanojunctions
to control photon emission of molecules with through-space charge
transfer (TSCT) excited states. The EF-induced Stark effect is capable
of flipping the order of the bright noncharge transfer state and dark
TSCT state, resulting in the anticipated switching behavior. The proposed
mechanism was theoretically verified by scanning tunneling microscope-induced
electroluminescence from a naphtalenediimide cyclophane molecule under
experimentally accessible conditions. Simulations show that the proposed
switching effect can be obtained by changing either bias polarity,
which alters the polarization of the field, or tip-height, which affects
the magnitude of the field. Our finding indicates that the in situ EF could play an important role in the design of
optoelectronic molecular devices.