Zero question. Yes.
The actual formula is somewhat complex, since it uses a lot of other variables - but most of them are just multiplicatively applied, so they apply equally to each. Looking simplistically,
DMG = Atk * (1 - CR + CR * (1 + CD))
If you have 100% CR, the formula becomes even simpler:
DMG = ATK * (1 + CD)
So, in your first case, 3154 * 2.35 = 7411.9, and in your second case, 2957 * 2.7 = 7983.9, meaning, you're gaining about 7.7% more damage from the swap.
With the current setup of my banshee it gives here 1,5-2 million more dmg per key on UNM (50 rounds). That what was a huge boost for me and pushed me over the edge of getting a 2 key run in 99% of the time.
But as my Fayne aint having a soul i think i will gonna use your formula to update here. Thanks a lot so far :)