Judge charges man accused of stealing ambulance from hospital