De-pin and swap
I do not like the H4 adapter harnesses. Adding two additional connectors creates two new failure points.
You only need to swap the two wires with stripes: Top and Right in this pic
-Use a small tool to release the lock tab
-Push the connectors out of the connector housing
-Bend the lock tabs back in to place -Flip and reinsert into connector housing.