彼女は自分が

she ... herself

→ 彼女
phrase Uncommon #16,360
she ... herself 自分 refers back to 彼女, and が marks 自分 as the subject of the following clause.
JA: 彼女は自分が間違っていたと気づいた。
EN: She realized that she had been wrong.

彼女は自分が行けないことでたいそう悩んでいた。

She was very distressed that she couldn’t go.

彼女は自分が言ってしまったことに困惑した。

She was embarrassed by what she had said.

彼女は自分が正しいといってあくまで主張する。

She stubbornly insists that she’s right.

彼女は自分が美人だとうぬぼれている。

She is conceited about her looks.

彼女は自分が間違っているのを認めない。

She won't admit that she's wrong.

彼女は自分がけっこう魅力的だと思った。

She thought she was pretty attractive.

彼女は自分が正しいと断言した。

She asserted that she was right.

彼女は自分がピアニストだと言ったが、それはうそだった。

She said she was a pianist, but that was a lie.

彼女は自分がしたことを反省した。

She regretted what she had done.

彼女は自分が無事だと叫んだ。

She shouted that she was safe.

彼女は自分が間違っていることを認めない。

She won't admit that she's wrong.