Approximate analytical solutions of the Dirac equation are obtained for the Yukawa potential plus a tensor interaction with any κ-value for the cases having the Dirac equation pseudospin and spin symmetry.The potential describing tensor interaction has a Yukawa-like form. Closed forms of the energy eigenvalue equations and the spinor wave functions are computed by using the Nikiforov-Uvarov method. It is observed that the energy eigenvalue equations are consistent with the ones obtained before. Our numerical results are also listed to see the effect of the tensor interaction on the bound states.