You have to do the opposite operations to get the variable on one side of the equation by itself.
4 - x + 4 = 8 - 4
x = 4
You only switch the comparison sign if you mutliply or divide by negative numbers when you do opposite operations to get the variable on one side of the equation by itself.