How old is your Yorkie? They can hold on for many, many hours without a problem. During the transit time maybe you can ask if you can go outside with your puppy to let him potty. When in the cabin you can ask the flight attendant if you can have your baby on your lab. Take some water from home and a little bowl with you.
Have a nice and smooth journey and let us know how it went!