Suppose that $V$ is a vector space of dimension $n$ over a field $F$ of characteristic not dividing $n$. If there are linear operators $S,T$ on $V$ such that $ST-TS=I$, then taking the trace of both sides leads to
$$ 0=\mathrm{tr}(ST-TS)=\mathrm{tr}(I)=n $$
which is a contradiction. Hence no such $S$ and $T$ can exist.
In particular, if $F$ has characteristic zero then we can conclude that if there are linear operators $S$ and $T$ on $V$ such that $ST-TS=I$, then $V$ must be infinite dimensional.
However, if $F$ has non-zero characteristic then it is possible to have $ST-TS=I$ when $V$ is finite-dimensional. Consider for instance $F=\mathbb{F}_2$, $V=F^2$, and
$$ S=\begin{bmatrix}0&1\\0&0\end{bmatrix}$$
and
$$ T=\begin{bmatrix}0&0\\1&0\end{bmatrix} $$
Then
$$ ST-TS=ST+TS=\begin{bmatrix}1&0\\0&0\end{bmatrix}+\begin{bmatrix}0&0\\0&1\end{bmatrix}=I $$
since $1=-1$ in $F$.