Fixing the issues with backup and restore of quizzes using shared questions from the question bank is mostly tied up with the new mod_qbank (MDL-71378), which in discussion with Moodle HQ it was decided should wait until Moodle 4.1.
So, not fixed yet in 4.0. Sorry.
So, not fixed yet in 4.0. Sorry.