Given the functional equation \(\frac{P(x)}{Q(x)} = R(x)\), where \(P(x)\), \(Q(x)\), and \(R(x)\) are polynomials, find the values of \(k\) for which the equation \(\frac{x^3 + 2x^2 - 5x + k}{x^2 + 3x - 4} = x - 1\) holds true for all \(x\) except the points where \(Q(x) = 0\). Let's think step by step and output the final answer within \boxed{}.
user