Given that you need to ask it may be best to summon the services of an electrician. The oozing brown liquid will very probably be the plastic of the switch box breaking down over time with too much heat - it may have an ammonia smell or perhaps fishy.
Search on here for fishy smell to find out about the chemistry involved.
Peccavi
March 2010