Hi Kalyan,
The sync operation will not impact the configuration data in your dmgr, so you could possibly just sync the node back to the correct dmgr and that would correct your issue.
Otherwise, I suggest the following two solutions:
1) If you have a backup of the node profile before the sync to the wrong dmgr, you could restore from the backup, and then sync it back to the correct dmgr.
OR
2) If you do not have a backup (or want an alternate solution), then you can "recover" the node using the method described here:
http://www.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.doc/ae/tagt_addNode_asExistingNode.html
Regards,
Gary Vacek