You seem to be confusing the elements with the pure simple substances of the elements. In atomic terms, both the oxygen atom and the sulfur atom are paramagnetic, since they contain two unpaired electrons in the ground state. However, the substances oxygen ($\ce{O2}$) and sulfur (generally intended as $\ce{S8}$) are not the same as the atoms.
In the simple picture of Lewis structures, both substances have all atoms forming two bonds, completing the octet rule and therefore without unpaired electrons. This would imply that both are diamagnetic. However, simple valence bond theory is inadequate to explain the bonding in oxygen. Simple molecular orbital theory suggests that there are in fact two unpaired electrons in the $\ce{O2}$ molecule. This gives rise to paramagnetism in the oxygen molecule, also.