Did God create Adam and Eve with free will and knowledge of right and wrong (good and evil)? I just want to confirm based on scripture if God made Adam and Eve with both free will and knowledge of good and evil (right and wrong) or if one came after the other when they ate the forbidden fruit?
Genesis 3 answers this question pretty definitively:


  Then the Lord God said, “Behold, the man has become like one of Us, knowing good and evil; and now, he might stretch out his hand, and take also from the tree of life, and eat, and live forever”  Genesis 3:22 NASB


Adam and Eve were not created with the knowledge of good and evil.  They were innocent--not righteous, but innocent.  After they sinned, they knew both good and evil.

God knows good and evil, but not from the same perspective, as He has never committed any sin or done anything unholy.