look somethings causing the car to loose all electrical power intermitently, a sensor or module won't cause this it has to be a loose/corroded wire. since the whole electrical system if affected it has to be something close the the battery. like the ground or main power wire.