Yes, it's very simple. If you do not wish to shoot the gun, do not put your finger on the trigger. Firearm safety really is that straightforward, which is why it's so stupid when stuff like that happens.
The NRA used to be mostly focused on gun safety, and not lobbying for gun manufacturers in DC. Their courses were much more involved than "don't pull trigger if you don't want to shoot".
Other pieces of advice included "keep the safety on", "never aim at a person" and "always assume the gun is loaded, especially when cleaning it".