Resurrecting an old thread here, but I figured I would throw in my two cents on this as this thread helped me today, and may help someone else in the future. Apologies if this is elsewhere, but I wasnt able to find it and I was able to finally fix my switch. I had an issue with a switch I just bought this past Saturday at my LHS. The train would go around, trip the derail triggers and flip the opposite way as OP was having a similar issue. While the track jumper/aux in/aux ground were all messed up (I have found this to be the case with at least 4 of my 10 brand new switches) that alone will not cause this. I straightened those out and checked over the wiring according to the schematic shown above. I found that the red/blue/yellow harnesses that come off of the microswitches were reversed going into the motherboard. I put them the way they SHOULD be according to the schematic, and then the switch would only operate when in between the microswitches, once either of them were depressed, it would kill power to the motor. I had another good working switch dismantled next to it and found that while they had the same motor, the one on the good switch was flipped 180 degrees from the bad switch, yet were wired the same, so basically the motors were wired backwards of each other. I took apart the 4 pin connector and flipped the wires in the harness, plugged everything back in, and the switch operates as normal and displays correctly in my DCS remote/app, and will activate correctly for derail when a train passes over.
TLDR: If a Fastrack switch is giving opposite feedback for derail, or displaying wrong, or both, check wire harnesses from microswitches to mother board, and check correct polarity to the switch motor.