Q. Are there $n$-th root analogs of this non-diagonal cube-root of the $3 \times 3$ identity matrix?
\begin{align*} \left( \begin{array}{ccc} 0 & 0 & -i \\ i & 0 & 0 \\ 0 & 1 & 0 \\ \end{array} \right)^3 = \left( \begin{array}{ccc} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \\ \end{array} \right) \end{align*}
I am looking for $A^n=I$, where $I$ is any dimension $\le n$.
(A naive question: I am not an expert in this area.)
You can take a rotation matrix that rotates $\phi=2\pi/n$ around some axis, for example in 3 dimensions:
$$R_\phi=\begin{pmatrix} \cos \phi & \sin\phi & 0 \\ -\sin\phi & \cos\phi &0 \\ 0 & 0 & 1\\ \end{pmatrix}$$
This won't work for $n=2$ though, because $R_\phi$ is diagonal in that case like $R_\phi=\operatorname{diag}(-1,-1,1)$.
Then $R_\phi^n=I$ and $R_\phi^k\neq I$ for any $0<k<n$. You can build new matrices using any invertible matrix $A$ and conjugate like
$$R_{\phi,A}:= AR_\phi A^{-1} \tag 1$$
then obviously:
$$R_{\phi,A}^n = (AR_\phi A^{-1})^n = A R_\phi^nA^{-1} = I$$
(I am not sure whether this could fix the case $n=2$ and produce some valid (non-diagonal) results.)