Qld laws are very similar to NSW laws. The 3x rule applies for naturally-aspirated engine swaps, ie the vehicle's mass multiplied by 3 is the biggest engine you can legally install. I'm afraid a 4.0 litre engine (assuming you mean the 1UZ) won't be legal.