Its really unfortunate for me. The phone has started to restart periodically again even after replacing the motherboard. I cant understand what else is there to this!
The first time it restarted 10 days after the board was replaced. As time has passed its becoming shorted. Now it restarts every 4-5 days as before.
If anyone if facing a similar problem please replay to this thread. This has to be taken up seriously with Samsung.