Let $A$ be a ring. Let $E$ be the set of polynomials $\{X^n-X \in \mathbb{Z}[X]|n \in \mathbb{N}^*-\{1\}\}$.
By the theorem of Jacobson, we know that if for each $a\in A$ there is an element of $E$ for which $a$ is a root, then $A$ is commutative.
Is there a characterization of the sets $F \subset \mathbb{Z}[X]$ such that, for all ring $A$, if every element of $A$ is a root of a polynomial in $F$, then $A$ is commutative ?
Thanks in advance.