I think you can’t even compare these. They’re both too much of their own thing. While super-effectiveness does lead to more damage, STAB is always available if you have a damaging move of the same type as (one of) yours. Additionally, if you have the Tera boost as well as STAB, that is guaranteed 2x damage, so it could even be argued that STAB is better.
If they stack, though, then they are great paired together for big sweeps.