Yes, you can drive without a fuel pressure sensor, but you may face many drivability problems. If the pressure switch fails, the PCM will have no feedback to regulate fuel pressure and may trigger into failure mode. Failure mode may lead the engine to run erratically and the transmission to shift abruptly, causing the problem you are having.