Starting with your formal grammar consisting of one production rule, $S \to SaSaS | b$, I'm going to modify it be adding parenthesis to demonstrate the the possible ways of generating your objective string $babababab$.
Let the demonstrative formal grammar be given by the production rule $S \to (S)a(S)a(S) | b$.
Starting with $(S)a(S)a(S)$ we can produce the following strings: $((b)a(b)a(b))a(b)a(b)$, $(b)a((b)a(b)a(b))a(b)$ and $(b)a(b)a((b)a(b)a(b))$.
If we remove the paratheses, (effectively performing the same set of operations using your formal grammar), then we arrive at your objective string $babababab$.
By definition, any formal grammar that yields the same string by applying the production rules in multiple ways, is ambiguous.
Therefore, your formal grammar is ambiguous. (the demonstrative formal grammar is not, since each string is unique.)