When motor is turned off, and headlights and interior lights go out, parking on 1998 Oldsmobile Aurora

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
lights blink erratically on and off for hours.Also the electronic box controlling lights sometimes makes loud noise.
Now window on passenger side only works from driver.
Battery gets run down.
(1) Answer
I had this problem..light would go off and on in driveway..sometimes killing batt. It was the LCM Light control module located on underside of left side of dash..above your left foot..under panel about 4x5 box with one from junkyard..was hard to locate..most already gone.