Borrowed from French jambon, an augmentative of jambe (“leg”). In this sense, displaced earlier pernil. Cognate with English gammon.
Practice speaking and memorizing "jamón" and many other words and sentences in Spanish.