Relay sounds good starting point, also check that all the rear lights are operating correctly! could be a bad earth, look in the boot for the brown wires that earth to the rear panel, make sure they are clean and tight..
Alarm and/or immobiliser could be starting to play up..
Tom