Yes, it is a solution to the equation.
Plug in the values 4, for y, and 4, for x. Since there is a negative sign next to x, it turns 4 into -4. So, the equation will look like this: 4 = -4 + 8, add 8 to -4, and you get 4. 4 = 4. 4 = 4 is a true statement, so the pair IS a solution to the equation. Hope this helps!