Revan and Dooku would win.
Revan is a tactical genius, Malak will just send those battle droids towards the gungans and make them shoot them to shit. However Revan would know this and be able to stop it. He would probably manage to destroy all battledroids without even fighting himself.
Then its just him and Dooku against Anakin and Malak. Dooku would have to hold Anakin off or kill him while Revan finishes Malak and then joins Dooku against Anakin if he is still alive that is.
Malak and Anakin are screwed