I had a similar problem on my 218 LS with a Volvo Unit beginning of the season. I thought my trim button was bad but it turned out to be corrosion on the connectors in the starboard gunnel. Took apart cleaned and reassembled with dielectric grease. No more issues....
Good Luck