Unconventional quantum hall effect and tunable spin hall effect in Dirac materials: Application to an isolated MoS2 Trilayer