She outlived her husband by ten years.

Literal

She [topic-は] husband [than-よりも] ten-years longer-lived.

長生きする ('to live long') is a common compound. よりも marks the comparison. ~年 counts the years of difference.