Why do you need to change the brass union?

Simply hold the brass union with a spanner and unscrew the sender from it.

Most senders I've come across use a 1/8 NPT thread form

Arwyn