By definition, a rational number is one that can be expressed as the division of two whole numbers, the denominator being different from zero, in other words

As -8 you can express it in different ways, for example

So -8 meets the above definition, and therefore is a rational number.