Prove that there is a nonsingular $T \in M_n(R)$ such that $A = TBT^{−1}$ if and only if there is a nonsingular $S \in M_n$ such that both $A = SBS^{−1}$ and $\bar{A} = S\bar{B}S^{−1}$. (Here $M_n$ is the set of $n \times n$ complex matrices).
If direction: We can take $S = T$ i.e. imaginary part being zero. Then, $A = SBS^{-1}$ obviously. Moreover, $\bar{A} = \overline{SBS^{-1}} = \bar{S}\bar{B}\bar{S^{-1}} = S\bar{B}S^{-1}$.
The only if direction: Let $S = H+iC$ and $\bar{S} = H-iC$ where $H,C \in M_n(R)$. Then, $A = SBS^{-1} = (H + iC)B(H+iC)^{-1}, \bar{A} = \bar{S}\bar{B}\bar{S^{-1}} = (H-iC)\bar{B}(H-iC)^{-1} = S\bar{B}S^{−1} =(H + iC)\bar{B}(H+iC)^{-1}$.
I guess I should show that $S = \bar{S}$ i.e. $H+iC = H - iC$. Because if complex conjugate of $S$ is equal to $S$ then $S \in M_n(R)$ so, we will complete the proof.