Big Bang: Episode 84 & 85
Episode with only some of the Big Bang members: 30 (w/ Seungri), 35 & 36 (w/ Daesung), 156 (w/ Taeyang only on one mission), 163 (w/ Daesung, G-Dragon, & Seungri), 170 (w/ T.O.P), and 190 (w/ Seungri)
Shinhwa: Episode 161
I don’t think Shinhwa members were guests in any other episodes.
This might be incomplete (or wrong) so this list is not perfect. Please help out if you guys have any corrections!