In simple harmonic motion, the motion of the body in question can be simply described as following sinusoidal function. Oscillation covers broader range of alternating motion, both periodic and non-periodic, as long as the displacement is bounded between two extrema.
SHM is a kind of oscillation. The oscillations where the restoring force F is proportional to the displacement of the particle oscillating from equilibrium and in opposite direction is SHM.