Tomás y María se separaron después de que su hijo muriera.

English Translation

Tom and Mary split up after their son died.

should muriera be in subjunctive? it seems like a certain fact

That said, it’s often possible to rewrite the sentence to get rid of the problem: “Se separaron después de la muerte de su hijo”.