She committed a crime.

Literal

She [topic-は] crime [object-を] committed.

犯罪を犯す is a textbook example of a cognate-object construction — the noun (犯罪 'crime') and the verb (犯す 'commit') share the same kanji 犯. Other examples: 歌を歌う ('sing a song'), 夢を見る ('dream a dream').