where is $a\ne 0$, $T$ has rank-one and zero trace.
I just verified that a rank-one matrix has at most one non-zero eigenvalue.
Now since T is of rank-one and has zero trace, that means all of its eigenvalues are $0$, and so T is nilpotent. (And $T^2 = 0$.)
But I'm not sure how this helps with computing the inverse and determinant of $A = aI + T$.
Thanks in advance,
Recall that for a $n\times n$ matrix B with eigenvalues $\lambda_i$, $$\det B = \prod_i \lambda i $$ and $$\operatorname{Tr} B = \sum_i\lambda_i. $$
Since $\det T=\operatorname{Tr} T = 0$, it follows that $0$ is the only eigenvalue of $T$, and so $$\det(T-\lambda I)=0\iff \lambda = 0. $$ Since $$A - \lambda I = aI+T - \lambda I = T - (\lambda-a)I,$$ we see that $A$ has eigenvalues $a$. Therefore the determinant of $A$ is simply $a^n$, and since $T^2=0$, we see that $$\frac1{a^2}(aI-T)(aI+T) = I, $$ so that $$\left(aI+T\right)^{-1} = \frac1{a^2}(aI-T). $$