There's a slim chance you can swap hardware without formatting and it'll boot up, but I wouldn't count on it. Most likely you'll have to do a repair install of the OS at the very least.
Going with a new mobo, cpu, and ram if it were me I'd back up, format, and reinstall. clears out allot of junk and will make your system that much more snappy.