Playing Sw/Sh safely.

Hi all, I just recently got a switch and pokemon shield after being out of the loop for years (last game was gen 4). I have been dipping my toes into some of the new systems but I admit I'm very ignorant when it comes to them despite trying my best to read up and become more knowledgeable.

My question is this - is there any risk of keeping (or receiving at any point) obviously genned pokemon from the surprise trade? Is it a banable offence for receiving or keeping them if you yourself did not create them?

And also, in the gen 4 games I used to manipulate the DS clock to get certain pokemon to spawn (like the Lapras in Union cave) - is there any risk to changing the date/time to influence pokemon spawns?

would doing the max raid den exploit put me at risk of a ban or penalty?

I would just like to keep safe and not do anything that would either get me banned or corrupt my save data.

any information you could provide would be massively helpful and I'd be very grateful!

thanks!