In the textbook that I am reading, the following is how a polynomial is applied to a linear map.
Definition: For a polynomial $p(z)=a_0+a_1z+\dots+a_nz^n$ and a linear map $T\in L(V, V)$, we define the polynomial $p(T)$ to be the polynomial $p(T)=a_0I+a_1T+\dots+a_nT^n$.
My question is: Can results regarding a polynomial $p(z)$ be interpreted to be the same as for the polynomial $p(T)$? For example, suppose that a polynomial $p(z)=a_0+a_1z+\dots+a_nz^n$ over $\Bbb{C}$ has a factorisation $$p(z)=c(z-\lambda_1)\cdots(z-\lambda_m)$$
Does the polynomial $p(T)$ also have a factorisation that mimics this factorisation? Something like $$p(T)=c(T-\lambda_1I)\cdots(T-\lambda_mI)$$
I should also add that polynomials were defined to be functions $p : F\to F$ where $F$ denotes the field of real or complex numbers.