So I was looking at other posts related to this, and most of them contained polynomials divided by a function with multiple roots. In my question, I only have $g(x) = (x-2)$, assuming $f(x) = x^{3} - 2x + 4 $. So I set it up as such:
$$f(x) = q(x)(x-2) + l(x)$$
where $l(x) = (ax+b)$
And now if I plug in $x=2$ I get $f(x) = 2a+b$ but I'm not sure where to go from here because I only have 1 unknown, and can't solve for $a$ or $b$...