I would guess that the TBM is a lot better than the TBD. A TBM can certainly get shot down by Zeros, but for the most part only during its torpedo run. It handles better at high speeds than the Zero does, so if you have some alt and are alert, a Zero isn't going to get you until you are on the deck.
On the B5N side, if only it had forward-firing guns and a hint more durability, it would be an immensely better airplane.