Check the ground on your trailer wiring harness. I had all kinds of gremilins when I had a bad ground there.