I am so sorry for you and your son. Don't move out. She should be the one to leave the home since she's the one having the affair and can't seem to find herself.
You have to do what is right for you. We will stand behind you in whatever you opt to do.
Sit quietly, the answers will reveal themselves when you least expect them to. The past is gone, the present is a gift and you need to focus on today, allow the future to reveal itself when it is ready.