Since monolayer graphene was isolated in 2004, there has been significant interest in integrating layered materials into innovative device designs and hybrid materials to help solve pressing technological challenges. This is partially because they can typically be thinned to a two-dimensional (2D) form without suffering from roughness-induced scattering and can exhibit thickness-dependent variations in properties such as their energy band gap. This dissertation reports on investigations of electronic and optoelectronic device physics in 2D material heterostructures. The investigation of electronic device physics focuses on the interface between 2D molybdenum disulfide (MoS2) and gold (Au), which behaves as a resistive switching element (RSE...