He also played the role as veteran police sergeant T.J. Hooker , from 1982 to 1986 .
Shatner also played the eponymous veteran police sergeant in T. J. Hooker from 1982 to 1986 .