If you have previously "purchased" YouTube on your Apple ID (even on a newer device), you can force the App Store to give you the last compatible version.
Even after installing an IPA, you will likely see a "Tap to Retry" or "Update Required" message. You must spoof the version number to trick YouTube's servers. download youtube ipa file for ios 10.3.4