Anything can be made to work if you throw enough money at it, but the short answer, Bassel, is no. For the 2014 model year, Hyundai upgraded the petrol engines in the iX35, and the two-litre unit in your car received a direct-injection fuel system. While the basic engine architecture might be the same and the engine would probably physically bolt in, it’s almost certain that the computer in your car would be incapable of controlling the direct fuel-injection function. Your car is also probably missing components such as wiring, a high-pressure fuel pump and sensors required to make the newer engine operate.
You could also run afoul of the authorities because the earlier engine you want to use had a (slightly) higher tailpipe emissions rating. Our regulators take a fairly dim view of a vehicle being modified and going backwards on emissions.