Slope of line $PQ$ is $$m=\frac{1}{1-k}$$ The slope perpendicular to it will be $k-1$
Since the line is a bisector of PQ it will pass through $(\frac{1+k}{2},\frac 72)$ Then $$y=mx+c$$ $$\frac 72 =(k-1)(\frac {k+1}{2})+4$$ $$\frac{-1}{2}=\frac{k^2-1}{2}$$ $$k=0$$ But the answer given is $-4$. What’s going wrong?
Nothing. Your answer is fine. Note that, when $k=0$, $Q=(0,3)$. Since $P=(1,4)$, the slope of the line passing through $P$ and $Q$ is $1$, and therefore the slope of the perpendicular bisector of $P$ and $Q$ is $-1$. But the line passing through $\left(\frac12,\frac72\right)$ with slope $-1$ clearly passes through $(0,4)$ too.
Of course, this doesn't prove that the answer $k=-4$ is wrong (although it is wrong), but it shows that asserting that that's the only answer cannot be right.