No, it should not be a toggle. It should be automatic. The first attack which hits. If your main hand misses, but your off-hand attack hits, the off-hand gets sneak attack.

A toggle is an extra thing to manage, and I don't think that having to manage that yourself is something you should need to do, when the game could easily handle that for you.