Like this? 
 
theToll = createObject ( 968, -1673.86, 522.395, 38.1261, 0, -90, -45 ) 
theBox = createObject ( 966, -1673.86, 522.395, 37.2995, 0, 0, -45 ) 
theSphere = createColSphere ( -1676.54, 525.193, 37.67, 5 ) 
  
function tollUp () 
     moveObject ( theToll, 1000, -1673.86, 522.395, 38.1261, 0, 90, 0 ) 
     setTimer ( tollDown, 2000, 1 ) 
end 
  
function tollDown () 
     moveObject ( theToll, 1000, -1673.86, 522.395, 38.1261, 0, -90, 0 ) 
end 
  
addCommandHandler ( "sfseup", tollUp ) 
addCommandHandler ( "sfsedown", tollDown ) 
addEventHandler ( "onColShapeHit", theSphere, tollUp )