Tested with a Rabsca against a Luxio. 
Spent turn one using Calm Mind, the Guard Swapped. The animation played and it gave my +1 Special Defense boost to my opponent. A quick check showed I had lost the boost and my opponent had magically gained a SpD boost. 
So yes, Guard Swap does work in Tera Raids.
Hope I Helped.