She was ill for a long time.

Literal

She [topic-は] long time illness was.

病気でした is the polite past of 病気だ ('is ill'). 長い間 sets the duration. Simple and direct — a polite statement of fact about someone's health history.