Controlling the Electron Transfer Mechanism in Metal-Molecules-Metal Junctions