this team could do it. lee is useless and out of his league. its basically two titans vs four titans. naruto is in BM right? so he should be able to hold off madara while using physical attacks to bypass preta path.
sasuke gaara and itachi will take control of the battlefield with a combination of amaterasu and hardened special sand. the two things that wood is helpless against. gaara makes a pyramid while flying in the sky and drops it on hashiramas forest. then sasuke fires amaterasu projectiles and a barrage of susano arrows. then itachi goes in for tsukiyomi or totsuka. then a combination of a lucky totsuka shot or ultimate sand funeral finishes madara off. big mistake putting two ninjas with sealing jutsu vs edo madara