Trim gauge sender is on starboard side
Trim limit sender is on port side
The trim senders go bad and wires crack. Loosen the screws, turn key ON and rotate the sender to see gauge move. It it doesn't then it can be the sender or gauge.
The limit wires go to the trim pump. Find those then...