We want to find the value of $X$ in the given situation.
We are given that the volume of the rectangular box is $X$ cubic feet.
To find the volume of the box in cubic yards, we need to convert cubic feet to cubic yards.
Since 1 yard is equal to 3 feet, we know that 1 cubic yard is equal to $(3 \text{ feet})^3 = 27$ cubic feet.
Therefore, to convert cubic feet to cubic yards, we divide the volume in cubic feet by 27.
Given that the volume in cubic yards is 4, we can write:
$4 = \frac{X}{27}$
Multiplying both sides of the equation by 27 to eliminate the fraction, we get:
$108 = X$
The value of $X$ is 108.
The answer is: 108
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
A rectangular box has a volume of X cubic feet. How many cubic yards are in the volume of this box?
If we know the answer to the above question is 4, what is the value of unknown variable X?

### Answer:
