Thank you @Eric-Katzfey , it worked, I tested each port individually and made sure the individual ports are working, and then integrated the two and is working fine.
Here is my solution if anyone needs.
I used Telem 1 port of the cube and the UART pins on the J5 connector of USB2 Type A Breakout (M0141) . The parameters I set for MAV 1 is here
214a9a31-6231-4a59-bb93-3048e5fc9c5b-image.png
33012de2-cc53-484e-99de-dc534345f369-image.png
After disabling the voxl-px4 services, Connect to VOXL wifi and check QGC, you'll get the FC data in which the cube is used as the flight controller.
The VOXL ESC, I haven't tested it yet, I'll test and get back if any problems.