#include <bits/stdc++.h>
using namespace std;
const long long mod = 1000000007;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  int testcases;
  cin >> testcases;
  while (testcases--) {
    long long n;
    cin >> n;
    string s;
    cin >> s;
    string req = "abacaba";
    long long present = 0;
    for (long long i = 0; i < n; i++) {
      if (s[i] == 'a') {
        long long c = 1;
        while (c < 7) {
          if (i + c >= n) break;
          if (s[i + c] != req[c]) break;
          c++;
        }
        if (c == 7) present++;
      }
    }
    if (present > 1) {
      cout << "No\n";
      continue;
    }
    if (present == 1) {
      cout << "Yes\n";
      for (long long i = 0; i < n; i++) {
        if (s[i] == '?') s[i] = 'z';
      }
      cout << s << "\n";
    } else {
      long long complete = 0;
      for (long long i = 0; i < n; i++) {
        if (s[i] == '?' || s[i] == 'a') {
          string t = s;
          t[i] = 'a';
          long long c = 1;
          while (c < 7) {
            if (i + c >= n) break;
            if (t[i + c] != req[c]) {
              if (t[i + c] == '?') {
                t[i + c] = req[c];
              } else
                break;
            }
            c++;
          }
          if (c != 7) continue;
          c = 10;
          if (i + c < n) {
            string temp = t.substr(i + 4, 7);
            if (temp == req) continue;
          }
          c = i - 4;
          if (c >= 0) {
            string temp = t.substr(c, 7);
            if (temp == req) continue;
          }
          c = i - 6;
          if (c >= 0) {
            string temp = t.substr(c, 7);
            if (temp == req) continue;
          }
          c = 12;
          if (i + c < n) {
            string temp = t.substr(i + 6, 7);
            if (temp == req) continue;
          }
          s = t;
          complete = 1;
          break;
        }
      }
      if (complete) {
        cout << "Yes\n";
        for (long long i = 0; i < n; i++) {
          if (s[i] == '?') s[i] = 'z';
        }
        cout << s << "\n";
      } else {
        cout << "No\n";
      }
    }
  }
  return 0;
}
