Why would YOUR brake lights work when are OFF and not you turn them on or tail lights?
It is very unlikely that your brake lights will work when your headlights and tail lights are turned off at night. For brake lights to be functioning, your car must be turned on and the head and tail lights to be functional.