noooooooooooooooooooooooooo, It is ILLEGAL for a pharmacy to take back any RX medications once dispensed to a patient and the patient leaves the pharmacy and/or sight of the pharmacist. If the pharmacy made a fill error then they have to take the med back but DISPOSE of it and give you the correct medication. If your doctor made the error and it wasn't caught while you were still inside the pharmacy, you are out of luck.
I will tell you though, you aren't the only one this has happened to-I've done it on a few occasions.