Here's my attempt:
My thinking is that this is the same as finding all the non-negative $a, b, c, d$ such that $a + b + c + d = M$ where $M \in \{0, 1, ..., N - 4\}$. Which further reduces to a stars and bars problem, thus we get:
$\sum\limits_{k=0}^{N-4} {{k+4-1} \choose {k}}$.
But this seems to be incorrect. Can someone tell me why?

I have $N$ doughnuts and want to distribute $\lt N$ of them among $4$ people, A, B, C, and D, with everyone getting at least $1$ doughnut. So I will keep the rest to eat myself. The number of ways to do this is the number of ways to distribute exactly $N$ doughnuts among $5$ people, A, B, C, D, and I, with everyone getting at least $1$.
So I line up the $N$ doughnuts, like this, with a little space between them. $$ O\quad O \quad O \quad O\quad O \quad O \quad O\quad O \quad O \quad O\quad O \quad O \quad O\quad O $$ There are $N-1$ interdoughnut gaps, and I choose $4$ of them to put separators into. A will get the doughnuts from the left end to the first separator, B will get the doughnuts from the first separator to the second, and so on. I will get the ones from the last separator to the right end. Choosing where the separators go can be done in $\binom{N-1}{4}$ ways.