High Thermoelectric and Reversible p-n-p Conduction Type Switching Integrated in Dimetal Chalcogenide | Synapse