on-again, off-again relationship
An on-again, off-again relationship (otherwise known as an on-off relationship, on and off relationship, or similar) is a form of personal relationship between two people. They may wish to keep an ongoing formal relationship, but have difficulty doing so because of continuous conflicts.
On-again, off-again relationship with someone.