Both formats are lossy. m4a is the next iteration of the mpeg layer standards, mpeg layer 4.
You can find more information
here.
So yes: m4a > mp3
Edit: Looks like a lot of other sites assert that mp3 and m4a are roughly the same quality, or that m4a is slightly worse. Personally, I'd stick with mp3.