As @MadHater showed it is possible to publih under both of them and let user choose, which one use. (Selling car for 1K$ or for motorcycle - your chose)
As Author you can publish your code under any number of (possibly incompatible) licences, but at the moment of transaction the user have to choose, which one to pick and be bounded to.
I can go to local market, put a table there marked "Gilhad superior util, now in many versions avaiable" and place few stacks of CDs there, marked like "1$ GL-2", "2$ GL-2 (with free brownie)", "0$ GL-2 (if you smile on me)" "1$ GPL3" "1$ GL3 or later", "$100 proprietary with super duper restrictions a funny necktie included", "0$ MIT" .... and containing the same code with just different Licence.
Customers come and take, what they want and if they use it, they are bouded by respective licences.
Some may even came, take one with GPL-2 (and give me a smile to have it free) and one with MIT, than compare it at home to see, thay are the same, except licence, duplicate that and put they table "Fergo's copies of Gilhad superior util, now in many versions avaiable - we have nice T-shirts too" with "2$ GPL-2" and "0$ MIT" stacks of CDs with respective licencies there (as long, as they stick to their promises and licencies :)
And also can fix all my typos and add some their work and make table with "Fergo's copies of Gilhad superior util with fixed all typos, now in many versions avaiable" and put again "2$ GPL-2" and "0$ MIT" stacks of CDs with respective licencies there.
Or you can make nice website and put it there to download, taking my utils from old middleages to hot future :)