Note that $T(n) = T(n-4) + n$
Then tells us that (at least if n is a multiple of 4) that:
$$ T(n) = n + n-4 + (n-8) + ... T(0) $$
Now if we assume $T(0) = O(1)$ then we have that
$$ T(n) = n + (n-4) + (n-8) + ... O(1) $$
so we conclude that
$$ T(n) = \frac{n}{4} n + O(1) - 4 - 8 - 12 .... -n $$
Now at this point you can drop the terms on the right hand side but perhaps you are new and don't believe me so we can keep bashing this recurrence out
$$ T(n) = \frac{n}{4} n + O(1) - 4(1 + 2 + 3 ... \frac{n}{4}) $$
Now we go ahead and apply the formula that we know for sums of $1 ... n$ to find:
$$ T(n) = \frac{n^2}{4} + O(1) - 4 \frac{1}{2} \frac{n}{4} \left( \frac{n}{4} + 1 \right) $$
And this simplifies out to:
$$ T(n) = \frac{n^2}{4} + O(1) - \frac{n}{2} \left( \frac{n}{4} + 1 \right)
= \frac{n^2}{4} + O(1) - \frac{n^2}{8} - \frac{n}{2}$$
Now those two quadratic terms combine but don't completely cancel out so you end up with a left over of:
$$ T(n) = \frac{n^2}{8} - \frac{n}{2} + O(1) $$
But we ignore the linear and lower terms and even forget the constant in front of the $n^2$ to just write
$$ T(n) = O(n^2) $$