It is true that the eigenvalues (counting multiplicity) of $AB$ are the same as those of $BA$.
This is a corollary of Theorem 1.3.22 in the second edition of "Matrix Analysis" by Horn and Johnson, which is Theorem 1.3.20 in the first edition.
Paraphrasing from the cited Theorem: If $A$ is an $m$ by $n$ matrix and $B$ is an $n$ by $m$ matrix with $n \geq m$ then the characteristic polynomial $p_{BA}$ of $BA$ is related to the characteristic polynomial $p_{AB}$ of $AB$ by $$p_{BA}(t) = t^{n-m} p_{AB}(t).$$
In your case, $n = m$, so $p_{BA} = p_{AB}$ and it follows that the eigenvalues (counting multiplicity) of $AB$ and $BA$ are the same.
You can see Horn and Johnson's proof in the Google Books link above. A similar proof was given in this answeranswer from Maisam Hedyelloo.