A long-period radio transient active for three decades