Global behavior of a higher-order rational difference equation