If it's
(-5)4 , with the negative sign inside parentheses,
then it means (-5)(-5)(-5)(-5) = +625
But if it's
-54 , with the negative sign NOT inside parentheses,
then it means -1×(5)(5)(5)(5) = -625
Always be sure which it is, so you won't get the sign wrong.
Edwin