The synthesis of a pH-sensitive two-station rotaxane molecular switch by self-entanglement of a non-interlocked hermaphrodite molecule, containing an anilinium and triazole moieties, is reported. The anilinium was chosen as the best template for the macrocycle benzometaphenylenecrown-8 (BMP25C8) and allowed the self-entanglement of the molecule. The equilibrium between the hermaphrodite molecule and the pseudorotaxane was studied by 1H NMR spectroscopy: the best conditions of self-entanglement were found in the less polar solvent CD2Cl2 and at high dilution. The triazole moiety was then benzylated to afford a benzyltriazolium moiety, which then played a dual role. On one hand, it acts as a bulky gate to trap the BMP25C8, thus to avoid any self-disentanglement of the molecular architecture. On another hand, it acts as a second molecular station for the macrocycle. At acidic pH, the BMP25C8 resides around the best anilinium molecular station, displaying the lasso rotaxane in a loosened conformation. The deprotonation of the anilinium molecular station triggers the shuttling of the BMP25C8 around the triazolium moiety, therefore tightening the lasso.