Phone not booting after rooting attempt
A factory reset won't undo rooting since it only clears the /data partition and not /system.

What you should do to get your device working is flash a stock ROM with Odin.  You can get one from sammobile.com.  As usual, you would put the .tar file from there into the AP/PDA field of Odin and flash it while the phone is connected in Download mode.