If you set the SRF05 into mode 2 (connect the mode to ground) it appears to operate the same as the Parallax Ping. See the reference to mode 2 at SRF05 tech page in comparison to the Ping data pdf.
i dont know about the motor shield though... just follow the wiring on the PCB i guess and have a multimeter handy