You forgot the choice where you learn to get along.
Overall in my career, I have several times been re-organized to work for people I disliked. It is part of life. You need to give it a good try to work with this person. Most of the time, it can work out for you in the long run. Since you say this is your dream job, it is worth it to make the effort to make it work or to gain what you need to move up in your own career.
You said they want you to do this to develop you. That means it could be a short-term thing with an different end goal in sight. Several things could be happening here. One is that they want you to get up-to-speed on his projects because they are replacing him (which obviously they can't tell anyone yet.). One could be that they are rotating the other guys out to give them a break which means they would rotate you out too in time. One reason could be they have a different job in mind for you but you need some experience that only this project will get you. Thinking about it as a possible change that could work out for the better changes the dynamic. It makes it easier to take knowing that the situation is short-term.
There are lots of books on dealing with difficult people. I would suggest you read at least one. Saying someone is unprofessional and a micromanager is almost meaningless in determining what kind of issue you have dealing with him, so I can't give more specific advice about how to deal with this person specifically. You may recognize him in the books though and get some good advice for dealing.
In the meantime, adapt to his style. If he wants information give it to him often and cheerfully. It is his right and his job as a manager to know what you are working on at all times. If you are cooperative rather than fighting him at every step of the way, you can often gain his respect and trust and he will start to micromanage less. People often do this because they are afraid they won't have what they need when senior managers ask them questions. So if you voluntarily keep him informed, he will be less stressed and things will go more smoothly for you both.
When you are assigned. Sit down with him and ask exactly what he expects from you. Ask how you can help him get the project done. Be neutral. You don't have to pretend to be happy; you both know that you are not and likely he is not. What you have to do is work out exactly what he expects and then give it to him. Remember, good performance (as defined by your new boss) on your part can turn around his opinion of you. And really as long as your employed, you owe it to the company to try to perform as well as you can. That is after all what they are paying you for.
There are things to learn even from bad managers. One thing you learn is how being badly treated affects people and you can learn how to manage from learning how not to manage. And he must have had something going for him on the technical side to get promoted. Even people you don't like often have knowledge to pass along that is useful in the long run. Don't give up the chance to learn something that may be key to a successful career over some personality conflicts. Flexibility is another thing you get from adjusting to work with managers of all types. Flexibility is a really useful and career enhancing characteristic. Your company may even be looking at you while you work for this person to see if you are getting outside your comfort zone and learning the flexibility they may think you need. After all good managers need to be flexible and learn to work with employees they don't like.