She ran for dear life.

Literal

She [topic-は] desperately ran.

必死になって ('desperately,' literally 'becoming certain-death') in te-form modifies the main verb as an adverbial, describing the frantic manner of running.