WARNING: This page is about a different car, the 2005 Mazda RX-8 and 2004 Mazda RX-8. However, it is still accessible from the selected car via links, so may be relevant.
Disconnect the PCM connector.
Disconnect the neutral switch connectors.
Inspect the following wiring harnesses for open or short circuit. (Continuity inspection)