Electricity can be done carefully and safely - just know your limits. I'd recommend at least getting comfy replacing outlets and switches. If you want to go one step further, light fixtures are also not too bad. Basically, anything where you just disconnect one widget from between two wires, and replace it with a different widget is fair game for most people. I call someone if I need new wires run or need to touch the main panels, though.
Likewise, woodworking is not as safe as most people think. Saws can bite you, as can drills, routers, etc... even rough edges on wood, or flying chunks of wood when you are teaching your 14 year old son to build a workbench and he just stands up a piece of wood next to your head and starts up a hand-held belt sander on it without clamping it.
The point being that tools that use electricity can be just as dangerous as the wires that carry the current, so plan accordingly.
It's like, with woodworking, step one is often "make everything perfectly square". In carpentry, nothing will ever be square. So you just have pretty different problems to solve
Even with woodworking things end up not square and fixing/hiding those mistakes is part of the project, just using a smaller scale than carpentry.