I meant that he just has to get up and to the side of the sword just as Madara swings it, so the actual sword doesn't hit him, giving him time to hit the sword with Shinra Tensei and causing Madara to lose balance before Madara can possibly even complete the sword swing and cause any damage.
PRetty sure even if the sword doesn't hit him.. The pressure wave can still catch him and catch him pretty hard. It's like swinging your arm at a fly. Also, Shinra Tensei, the bigger it goes, the longer the cool down. To swing something that massive off balance, it's gonna need quite some time. So, if Nagato aimlessly spammed his Shinra Tensei like that. He's going to have a huge opening for one of Madara's meteors to crush him or something like that.