I found the identity for $n\ge 1$: $$ (n-1)n^{n-1} = \sum_{j=1}^{n-1} \binom{n}{j} j^j (n-j)^{n-j-1} $$ or equivalently, if we say $0^0 = 1$, we have $$ n^n = \sum_{j=0}^{n-1} \binom{n}{j} j^j (n-j)^{n-j-1} $$ This identity is easy to show using generating functions (as I couldn't find this identity anywhere online, I include this proof below). However, it looks suspiciously like something that would have a combinatorial interpretation, since $n^n$ is the number of functions from a set of $n$ elements to itself, and the binomial coefficients could be taken to represent numbers of subsets of the same set. My question is, does this identity have a combinatorial proof or some meaningful combinatorial interpretation at least?
Proof using generating functions: The power series for the principal branch $W(x)$, the Lambert W function, is $$ W(x) = \sum_{n=1}^\infty \frac1{n!} (-n)^{n-1} x^n $$ and $W'(x) = \frac{W(x)}{x(1+W(x))}$. Thus we have: \begin{eqnarray} \sum_{n=1}^\infty \frac1{n!} n^{n-1} x^n &=& -W(-x) \\ \sum_{n=1}^\infty \frac1{n!} n^n x^n &=& x{\frac{d}{dx}}(-W(-x)) = \frac{-W(-x)}{1+W(-x)}\\ \sum_{n=0}^\infty \frac1{n!} n^n x^n &=& 1 + \frac{-W(-x)}{1+W(-x)} = \frac{1}{1+W(-x)} \end{eqnarray} We therefore have the product $$ -W(-x) \cdot \left(\frac{1}{1+W(-x)}\right) = \frac{-W(-x)}{1+W(-x)} $$ which in series form looks like $$ \left(\sum_{n=1}^\infty \frac1{n!} n^{n-1} x^n\right)\left(\sum_{n=0}^\infty \frac1{n!} n^n x^n\right) = \sum_{n=1}^\infty \frac{1}{n!}\left(\sum_{j=0}^{n-1} \binom{n}{j} j^j (n-j)^{n-j-1}\right) x^n = \sum_{n=1}^{\infty} \frac1{n!} n^n x^n $$