I'm not sure you got the characters you wanted -- the first translates to English as "Taoism" and the second means house/family/specialist. Frankly the second one can mean a lot things.
If you meant to type 大家 (da jia) instead of 道教 (dao jiao), then the difference is clear -- 大家 means "everyone".
Answers & Comments
Verified answer
I'm not sure you got the characters you wanted -- the first translates to English as "Taoism" and the second means house/family/specialist. Frankly the second one can mean a lot things.
If you meant to type 大家 (da jia) instead of 道教 (dao jiao), then the difference is clear -- 大家 means "everyone".