Memory upgrade for 27" iMac, mid 2011
It will likely work, however many people will advice you to only use matching sticks of RAM.  In other words, if you're going to use 4 sticks, ensure they are all of the speed, capacity, brand, etc.

You wouldn't build a RAID array with mismatched drive manufacturers, speeds, and capacities, why do it with your RAM?