You can't use iTunes to transfer song files from iPod to computer (except for songs you purchased from the iTunes Store). However, there are third-party methods and utilities that can transfer from iPod to computer. If you do a Google search on something like "ipod transfer mac," you should get some links.
Once the songs files from iPod are on the computer, add them to your iTunes library and sync your iPod to that iTunes library.
This site contains user submitted content, comments and opinions and is for informational purposes only.
Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site.