Deputy shoots suspect in gunfire exchange