WARNING: This page is about a different car, the 2006 Subaru Impreza. However, it is still accessible from the selected car via links, so may be relevant.
Measure the resistance between parking switch terminals.
Fig 1: Measuring Resistance Between Parking Switch Terminals