One important prerequisite for the fabrication of molecular functional device strongly relies on the understanding the conducting behaviors of the metal-molecule-metal junction that can respond to an external stimulus. The model Lewis basic molecule 4,4′-(pyridine-3,5-diyl)dibenzonitrile (DBP), which can react with Lewis acid and protic acid, was synthesized. Then, the molecular conducting behavior of DBP, DBP-B(C6F5)3, and DBP-TfOH (DBP-B(C6F5)3, and DBP-TfOH were produced by Lewis acid and protonic acid treatment of DBP) was researched and compared. Given that their identical physical paths for DBP, DBP-B(C6F5)3, and DBP-TfOH to sustain charge transport, our results indicate that modifying the molecular electronic structure, even not directly changing the conductive physical backbone, can tune the charge transporting ability by nearly one order of magnitude. Furthermore, the addition of another Lewis base triethylamine (of stronger alkaline than DBP), to Lewis acid-base pair reverts the electrical properties back to that of a single DBP junction, that is constructive to propose a useful but simple strategy for the design and construction of reversible and controllable molecular device based on pyridine derived molecule.