Develop a family security plan which will provide you with a safe place to bunker up/hunker down with your family behind you and behind cover. That way an intruder has to go through you to get to them. You may have to move to gather up children, if so, establish a safe area in the child's bedroom you get to last. That way you only have to move once.
Prepare your safe area with real cover (bed, furniture, bookshelves loaded with books etc.), a phone, preferably a cell phone (intruders sometimes cut phone lines, any working cell phone even without paid service can dial 911) and a way to control lighting outside the door of your safe area. Remote control lighting can be set up with X10 controllers, or you can use night lights etc. There are night lights that have a power failure mode in case intruders pull your power as well as your phone.
Your safe area should be inside a room that can be left dark, your advantage increases with intruders in lighted areas and you and your family in the dark. The wall behind you should be a "friendly wall" or one with no doors or windows. There should be cover between you and the door. You should also prepare the area behind your 'fatal funnel' with loaded bookshelves, heavy furniture, decorative stone or brick on interior walls etc. to take care of overpenetration or misses.
Prepare a spare set of keys with a chemical light stick on the key ring. When dispatch tells you LEOs are on the scene you can toss it out a window so they can let themselves in to clear the house and you can maintain cover until they tell you to come out.
You still need a light on the shotgun. The options are many, as are methods of mounting. Be sure whatever light you choose can be switched on and left on if needed, and also make sure it is robust enough to handle the recoil of a shotgun without blowing the bulb or damaging the contact points for the batteries. I prefer lights that are easily removeable so they can be taken off when not needed in practice. Generally LED lights are better than incandescents these days, they are more resistant to damage and are adequately bright.
Get a copy of Louis Awerbuck's video _Safe At Home_, or see about taking the NRA classes on home firearm safety and personal protection. Strategies and tactics are covered there in more detail.
lpl/nc