Custom Post type collection

Do you have has_archive set to true in you register_post_type function? If so, you can use archive-shoes.php as your archive template.

For more information about registering custom post types, please check https://developer.wordpress.org/reference/functions/register_post_type/

EDIT

To load a custom archive template (without having to use the default WP template naming conventions), you can use the archive_template hook to set your own.

add_filter( 'archive_template', 'my_shoes_archive_template' );
function my_shoes_archive_template($archive_template) {
     global $post;
     if ( is_post_type_archive ('shoes') ) {
          $archive_template = dirname(__FILE__) . '/my-file-name.php';
     }
     return $archive_template;
}

Check out https://developer.wordpress.org/reference/hooks/type_template/ for more information on this.

error code: 523