#include <bits/stdc++.h>
using namespace std;
long long t, n, m;
string s;
string ss;
string w;
long long f;
long long ans;
string QWQ(int x) {
  string s0 = "a";
  long long y = 1;
  for (int i = x + 1; i < x + 7; i++) {
    if (s[i] == '?')
      s0 += ss[y];
    else if (s[i] == ss[y])
      s0 += s[i];
    else
      return "";
    y++;
  }
  return s0;
}
long long QXQ(string w) {
  long long ans = 0;
  string s0 = "";
  long long x = 0;
  while (n - x >= 7) {
    for (int i = x; i < x + 7; i++) {
      s0 += w[i];
    }
    if (s0 == ss) ans++;
    s0 = "";
    x++;
    if (ans >= 2) break;
  }
  return ans;
}
int main() {
  cin >> t;
  ss = "abacaba";
  while (t--) {
    cin >> n >> s;
    f = 0;
    w = "";
    for (int i = 0; i < n; i++) {
      if (s[i] == '?' || s[i] == 'a') {
        string QAQ = QWQ(i);
        if (QAQ != "") {
          for (int j = 0; j < i; j++) {
            if (s[j] != '?')
              w += s[j];
            else
              w += 's';
          }
          w += QAQ;
          for (int j = i + 7; j < n; j++) {
            if (s[j] != '?')
              w += s[j];
            else {
              w += 's';
            }
          }
          if (QXQ(w) == 1) {
            f = 1;
            break;
          } else
            w = "";
        }
      }
    }
    if (f)
      cout << "Yes" << endl << w << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
