We study the algebraic structure of the one-dimensional Dirac oscillator by extending the concept of spin symmetry to a noncommutative case. An SO(4) algebra is found connecting the eigenstates of the Dirac oscillator, in which the two elements of Cartan subalgebra are conserved quantities. Similar results are obtained in the Jaynes-Cummings model.