Informally, leaving that preposition hanging at the end is fine, but for formal writing, you'd be locked away by the grammar cops:
"She lost her job because of the person to whom she is married."
Informally, leaving that preposition hanging at the end is fine, but for formal writing, you'd be locked away by the grammar cops:
"She lost her job because of the person to whom she is married."