The real question is: How do I get a 5-volts to a 5-volt sensor using this combination. Do I need to feed the power via the USB port and not the power port on the MKR2UNO?
From looking at the schematic of the MKR2UNO it's hard to tell. There is a voltage regulator showing a connection to VIN, but the diagram shows VIN connected to the supply side of the regulator. Something is not right here.