saaketham, your probably smart in returning it. I think there are some bum 100-400 out there, unfortunately. In my case, I noticed mine back focusing on my D60 once the lens hit f/5.6 wide open -- where it was as sharp as can be on my A2e film camera in the same situations. While I couldn't narrow the problem down completely, I had it serviced and functioning at spec when I sold it. At this point I have come to the conclusion that it was a camera focusing issue due to the slow focusing aperture and the extremely shallow dof at 400mm.
I hope you get everything worked out, I know how frustrating it can be!!