Superflares, Chromospheric Activities, and Photometric Variabilities of Solar-type Stars from the Second-year Observation of TESS and Spectra of LAMOST