In reading this thread, OP says ABS/antiskid (all the time), hazards on for no reason and a brake failure (also on all the time). Have a few questions please:
What else is not working?
Has the vehicle been read by a device that can produce Volvo module ECM-xxxx, CEM-xxxx level codes? If so, what codes were produced?
What powertrain? (makes a difference if T6 versus 5-cyl (gas or Diesel) as relates to AWD).
Last 6 of your VIN? (that'll be sequential chassis, might make a difference as you move on in your investigation as most times this is what Volvo uses for their functional separation of changes).
Model year is significant, as significant as your not having a sunroof. You're a 2004 which means the older style CEM. That means external relays (CEM goes to PCB mounted FET to a large degree after MY05). I won't know much about the relay specifics but you'll have pretty much the same CEM as the S60/70/80 vehicles of the same MY range (2003-2004 for sure) so you might start referencing your symptoms in that direction as well and see if anything comes out of it.
This vehicle, like many others, is an amalgam of modules controlling electrical functions and communicating over two flavors of data bus. A good Volvo tech with a proper code reader will be able to tell you your problem and suggest a solution. You may also find someone local with a VIDA and a DICE reader over in the UK (if that's where you're from) at
Volvo Forums - Powered by vBulletin
You may have seen battery mentioned a few times earlier, a healthy and somewhat newish fully charged battery is key to establishing any odd electrical behaviors with these vehicles. Get past battery as a variable and I'll lean towards CEM but let's see exactly where you are with this.