Is 5,167 a Twin Prime?

No

5167 is prime but 5165 is not prime

5167  = 51671