Bumping your RAM up to 8 GB would have a significantly greater effect on performance than an SSD on an iMac of that vintage and according to Apple's instructions that upgrade is a cinch to perform. The difficulty might be finding the correct type of memory DIMMs as they are long out of production.(Emphasis added)
Crucial has the correct RAM.
Your new iMac has already got joemike's suggested 8 GB, but there may be a typo involved, because
Maximum Memory 32 GB (Actual) 16 GB (Apple).