It was not until she arrived in class _______ realized she had forgotten her book.
that she
when she
she
and she
Explanation:
Correct Answer is: that she
Always after the expression `, it was not until`, the conjunction `that` is a must. To use `when` here would be redundant.